TTFeedAdBean$1.smali

.class Lcom/cmcm/ad/tt/bean/TTFeedAdBean$1;
.super Ljava/lang/Object;
.source "TTFeedAdBean.java"

# interfaces
.implements Lcom/bytedance/sdk/openadsdk/TTNativeAd$AdInteractionListener;


# instance fields
.field final synthetic this$0:Lcom/cmcm/ad/tt/bean/TTFeedAdBean;

.field final synthetic val$listener:Lcom/cm/plugincluster/libplugin/tt/OnTTAdInteractionListener;


# direct methods
.method constructor <init>(Lcom/cmcm/ad/tt/bean/TTFeedAdBean;Lcom/cm/plugincluster/libplugin/tt/OnTTAdInteractionListener;)V
    .registers 3

    .prologue
    .line 216
    iput-object p1, p0, Lcom/cmcm/ad/tt/bean/TTFeedAdBean$1;->this$0:Lcom/cmcm/ad/tt/bean/TTFeedAdBean;

    iput-object p2, p0, Lcom/cmcm/ad/tt/bean/TTFeedAdBean$1;->val$listener:Lcom/cm/plugincluster/libplugin/tt/OnTTAdInteractionListener;

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

    return-void
.end method


# virtual methods
.method public onAdClicked(Landroid/view/View;Lcom/bytedance/sdk/openadsdk/TTNativeAd;)V
    .registers 5

    .prologue
    .line 219
    iget-object v0, p0, Lcom/cmcm/ad/tt/bean/TTFeedAdBean$1;->val$listener:Lcom/cm/plugincluster/libplugin/tt/OnTTAdInteractionListener;

    if-eqz v0, :cond_11

    .line 220
    const/4 v0, 0x0

    .line 221
    if-eqz p2, :cond_c

    .line 222
    new-instance v0, Lcom/cmcm/ad/tt/bean/TTFeedAdBean;

    invoke-direct {v0, p2}, Lcom/cmcm/ad/tt/bean/TTFeedAdBean;-><init>(Lcom/bytedance/sdk/openadsdk/TTNativeAd;)V

    .line 224
    :cond_c
    iget-object v1, p0, Lcom/cmcm/ad/tt/bean/TTFeedAdBean$1;->val$listener:Lcom/cm/plugincluster/libplugin/tt/OnTTAdInteractionListener;

    invoke-interface {v1, p1, v0}, Lcom/cm/plugincluster/libplugin/tt/OnTTAdInteractionListener;->onAdClicked(Landroid/view/View;Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;)V

    .line 226
    :cond_11
    return-void
.end method

.method public onAdCreativeClick(Landroid/view/View;Lcom/bytedance/sdk/openadsdk/TTNativeAd;)V
    .registers 5

    .prologue
    .line 230
    iget-object v0, p0, Lcom/cmcm/ad/tt/bean/TTFeedAdBean$1;->val$listener:Lcom/cm/plugincluster/libplugin/tt/OnTTAdInteractionListener;

    if-eqz v0, :cond_11

    .line 231
    const/4 v0, 0x0

    .line 232
    if-eqz p2, :cond_c

    .line 233
    new-instance v0, Lcom/cmcm/ad/tt/bean/TTFeedAdBean;

    invoke-direct {v0, p2}, Lcom/cmcm/ad/tt/bean/TTFeedAdBean;-><init>(Lcom/bytedance/sdk/openadsdk/TTNativeAd;)V

    .line 235
    :cond_c
    iget-object v1, p0, Lcom/cmcm/ad/tt/bean/TTFeedAdBean$1;->val$listener:Lcom/cm/plugincluster/libplugin/tt/OnTTAdInteractionListener;

    invoke-interface {v1, p1, v0}, Lcom/cm/plugincluster/libplugin/tt/OnTTAdInteractionListener;->onAdCreativeClick(Landroid/view/View;Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;)V

    .line 237
    :cond_11
    return-void
.end method

.method public onAdShow(Lcom/bytedance/sdk/openadsdk/TTNativeAd;)V
    .registers 4

    .prologue
    .line 241
    iget-object v0, p0, Lcom/cmcm/ad/tt/bean/TTFeedAdBean$1;->val$listener:Lcom/cm/plugincluster/libplugin/tt/OnTTAdInteractionListener;

    if-eqz v0, :cond_11

    .line 242
    const/4 v0, 0x0

    .line 243
    if-eqz p1, :cond_c

    .line 244
    new-instance v0, Lcom/cmcm/ad/tt/bean/TTFeedAdBean;

    invoke-direct {v0, p1}, Lcom/cmcm/ad/tt/bean/TTFeedAdBean;-><init>(Lcom/bytedance/sdk/openadsdk/TTNativeAd;)V

    .line 246
    :cond_c
    iget-object v1, p0, Lcom/cmcm/ad/tt/bean/TTFeedAdBean$1;->val$listener:Lcom/cm/plugincluster/libplugin/tt/OnTTAdInteractionListener;

    invoke-interface {v1, v0}, Lcom/cm/plugincluster/libplugin/tt/OnTTAdInteractionListener;->onAdShow(Lcom/cm/plugincluster/libplugin/tt/ITTFeedAdBean;)V

    .line 248
    :cond_11
    return-void
.end method