HurriyetAdView$1.smali

.class Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;
.super Ljava/lang/Object;
.source "HurriyetAdView.java"

# interfaces
.implements Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$NativeAdListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;
.end annotation

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


# instance fields
.field final synthetic this$0:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;


# direct methods
.method constructor <init>(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V
    .registers 2

    .line 74
    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;->this$0:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

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

    return-void
.end method


# virtual methods
.method public onAdFailed()V
    .registers 5

    .line 89
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;->this$0:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    invoke-virtual {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->removeAllViews()V

    .line 90
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;->this$0:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    # getter for: Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;
    invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->access$200(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    move-result-object v0

    const/4 v1, 0x0

    iput-object v1, v0, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->nativeStyles:Ljava/util/List;

    .line 91
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;->this$0:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    # getter for: Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;
    invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->access$200(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    move-result-object v2

    iget-object v3, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;->this$0:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    # getter for: Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;
    invoke-static {v3}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->access$300(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;

    move-result-object v3

    # invokes: Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->initAdView(Ltr/com/hurriyet/androidsdk/model/content/AdFeed;Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;Landroidx/recyclerview/widget/RecyclerView;)V
    invoke-static {v0, v2, v3, v1}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->access$400(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;Ltr/com/hurriyet/androidsdk/model/content/AdFeed;Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;Landroidx/recyclerview/widget/RecyclerView;)V

    .line 92
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;->this$0:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    invoke-virtual {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->loadAd()V

    return-void
.end method

.method public onAdLoaded()V
    .registers 3

    .line 77
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;->this$0:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    # invokes: Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->showAd()V
    invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->access$000(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V

    .line 78
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;->this$0:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    # getter for: Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mExternalAdListeners:Ljava/util/List;
    invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->access$100(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_29

    .line 79
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;->this$0:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    # getter for: Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mExternalAdListeners:Ljava/util/List;
    invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->access$100(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_17
    :goto_17
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_29

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/google/android/gms/ads/AdListener;

    if-eqz v1, :cond_17

    .line 81
    invoke-virtual {v1}, Lcom/google/android/gms/ads/AdListener;->onAdLoaded()V

    goto :goto_17

    :cond_29
    return-void
.end method