HurriyetAdView$2.smali
.class Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;
.super Lcom/google/android/gms/ads/AdListener;
.source "HurriyetAdView.java"
# 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 245
iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->this$0:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;
invoke-direct {p0}, Lcom/google/android/gms/ads/AdListener;-><init>()V
return-void
.end method
# virtual methods
.method public onAdClosed()V
.registers 3
.line 276
invoke-super {p0}, Lcom/google/android/gms/ads/AdListener;->onAdClosed()V
.line 277
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->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_27
.line 278
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->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_15
:goto_15
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_27
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_15
.line 280
invoke-virtual {v1}, Lcom/google/android/gms/ads/AdListener;->onAdClosed()V
goto :goto_15
:cond_27
return-void
.end method
.method public onAdFailedToLoad(I)V
.registers 6
.line 262
sget-boolean v0, Lhurriyet/mobil/android/hurriyet/HConstants;->LOGS_ENABLED_FOR_ADS:Z
const/4 v1, 0x1
new-array v1, v1, [Ljava/lang/String;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Failed - Standard ad failed to load - ID:"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v3, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->this$0:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;
iget-object v3, v3, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;
invoke-virtual {v3}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->getAdUnitId()Ljava/lang/String;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
const/4 v3, 0x0
aput-object v2, v1, v3
invoke-static {v0, v1}, Lcom/appcore/utils/L;->wtf(Z[Ljava/lang/String;)V
.line 263
invoke-super {p0, p1}, Lcom/google/android/gms/ads/AdListener;->onAdFailedToLoad(I)V
.line 264
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->this$0:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;
# invokes: Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->hideAd()V
invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->access$500(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V
.line 265
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->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_50
.line 266
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->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_3e
:goto_3e
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_50
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_3e
.line 268
invoke-virtual {v1, p1}, Lcom/google/android/gms/ads/AdListener;->onAdFailedToLoad(I)V
goto :goto_3e
:cond_50
return-void
.end method
.method public onAdLeftApplication()V
.registers 3
.line 288
invoke-super {p0}, Lcom/google/android/gms/ads/AdListener;->onAdLeftApplication()V
.line 289
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->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_27
.line 290
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->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_15
:goto_15
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_27
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_15
.line 292
invoke-virtual {v1}, Lcom/google/android/gms/ads/AdListener;->onAdLeftApplication()V
goto :goto_15
:cond_27
return-void
.end method
.method public onAdLoaded()V
.registers 5
.line 248
sget-boolean v0, Lhurriyet/mobil/android/hurriyet/HConstants;->LOGS_ENABLED_FOR_ADS:Z
const/4 v1, 0x1
new-array v1, v1, [Ljava/lang/String;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Successful - Standard ad loaded - ID:"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v3, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->this$0:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;
iget-object v3, v3, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;
invoke-virtual {v3}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->getAdUnitId()Ljava/lang/String;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
const/4 v3, 0x0
aput-object v2, v1, v3
invoke-static {v0, v1}, Lcom/appcore/utils/L;->wtf(Z[Ljava/lang/String;)V
.line 249
invoke-super {p0}, Lcom/google/android/gms/ads/AdListener;->onAdLoaded()V
.line 250
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->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 251
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->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_50
.line 252
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->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_3e
:goto_3e
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_50
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_3e
.line 254
invoke-virtual {v1}, Lcom/google/android/gms/ads/AdListener;->onAdLoaded()V
goto :goto_3e
:cond_50
return-void
.end method
.method public onAdOpened()V
.registers 3
.line 300
invoke-super {p0}, Lcom/google/android/gms/ads/AdListener;->onAdOpened()V
.line 301
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->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_27
.line 302
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;->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_15
:goto_15
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_27
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_15
.line 304
invoke-virtual {v1}, Lcom/google/android/gms/ads/AdListener;->onAdOpened()V
goto :goto_15
:cond_27
return-void
.end method