DfpView$2.smali

.class Lmobil/hurriyet/adsdk/views/DfpView$2;
.super Ljava/lang/Object;
.source "DfpView.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lmobil/hurriyet/adsdk/views/DfpView;->initUI()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lmobil/hurriyet/adsdk/views/DfpView;


# direct methods
.method constructor <init>(Lmobil/hurriyet/adsdk/views/DfpView;)V
    .registers 2

    .line 109
    iput-object p1, p0, Lmobil/hurriyet/adsdk/views/DfpView$2;->this$0:Lmobil/hurriyet/adsdk/views/DfpView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 4

    .line 112
    iget-object p1, p0, Lmobil/hurriyet/adsdk/views/DfpView$2;->this$0:Lmobil/hurriyet/adsdk/views/DfpView;

    # getter for: Lmobil/hurriyet/adsdk/views/DfpView;->dfp:Lmobil/hurriyet/adsdk/models/DfpModel;
    invoke-static {p1}, Lmobil/hurriyet/adsdk/views/DfpView;->access$300(Lmobil/hurriyet/adsdk/views/DfpView;)Lmobil/hurriyet/adsdk/models/DfpModel;

    move-result-object p1

    iget-object p1, p1, Lmobil/hurriyet/adsdk/models/DfpModel;->panelUrl:Ljava/lang/String;

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-eqz p1, :cond_1a

    .line 113
    iget-object p1, p0, Lmobil/hurriyet/adsdk/views/DfpView$2;->this$0:Lmobil/hurriyet/adsdk/views/DfpView;

    # getter for: Lmobil/hurriyet/adsdk/views/DfpView;->dfp:Lmobil/hurriyet/adsdk/models/DfpModel;
    invoke-static {p1}, Lmobil/hurriyet/adsdk/views/DfpView;->access$300(Lmobil/hurriyet/adsdk/views/DfpView;)Lmobil/hurriyet/adsdk/models/DfpModel;

    move-result-object p1

    iget-object p1, p1, Lmobil/hurriyet/adsdk/models/DfpModel;->listener:Lmobil/hurriyet/adsdk/interfaces/DfpActionListener;

    invoke-interface {p1}, Lmobil/hurriyet/adsdk/interfaces/DfpActionListener;->onAdClick()V

    goto :goto_2d

    .line 115
    :cond_1a
    iget-object p1, p0, Lmobil/hurriyet/adsdk/views/DfpView$2;->this$0:Lmobil/hurriyet/adsdk/views/DfpView;

    # getter for: Lmobil/hurriyet/adsdk/views/DfpView;->dfp:Lmobil/hurriyet/adsdk/models/DfpModel;
    invoke-static {p1}, Lmobil/hurriyet/adsdk/views/DfpView;->access$300(Lmobil/hurriyet/adsdk/views/DfpView;)Lmobil/hurriyet/adsdk/models/DfpModel;

    move-result-object v0

    iget-object v0, v0, Lmobil/hurriyet/adsdk/models/DfpModel;->panelUrl:Ljava/lang/String;

    iget-object v1, p0, Lmobil/hurriyet/adsdk/views/DfpView$2;->this$0:Lmobil/hurriyet/adsdk/views/DfpView;

    # getter for: Lmobil/hurriyet/adsdk/views/DfpView;->dfp:Lmobil/hurriyet/adsdk/models/DfpModel;
    invoke-static {v1}, Lmobil/hurriyet/adsdk/views/DfpView;->access$300(Lmobil/hurriyet/adsdk/views/DfpView;)Lmobil/hurriyet/adsdk/models/DfpModel;

    move-result-object v1

    iget-object v1, v1, Lmobil/hurriyet/adsdk/models/DfpModel;->listener:Lmobil/hurriyet/adsdk/interfaces/DfpActionListener;

    # invokes: Lmobil/hurriyet/adsdk/views/DfpView;->openAtWebView(Ljava/lang/String;Lmobil/hurriyet/adsdk/interfaces/DfpActionListener;)V
    invoke-static {p1, v0, v1}, Lmobil/hurriyet/adsdk/views/DfpView;->access$400(Lmobil/hurriyet/adsdk/views/DfpView;Ljava/lang/String;Lmobil/hurriyet/adsdk/interfaces/DfpActionListener;)V

    :goto_2d
    return-void
.end method