BannerView$bindLifecycle$1.smali
.class public final Lcom/imo/android/imoim/world/widget/BannerView$bindLifecycle$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/lifecycle/GenericLifecycleObserver;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/imo/android/imoim/world/widget/BannerView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/world/widget/BannerView;
.field final synthetic b:Landroidx/lifecycle/LifecycleOwner;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/world/widget/BannerView;Landroidx/lifecycle/LifecycleOwner;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/lifecycle/LifecycleOwner;",
")V"
}
.end annotation
.line 141
iput-object p1, p0, Lcom/imo/android/imoim/world/widget/BannerView$bindLifecycle$1;->a:Lcom/imo/android/imoim/world/widget/BannerView;
iput-object p2, p0, Lcom/imo/android/imoim/world/widget/BannerView$bindLifecycle$1;->b:Landroidx/lifecycle/LifecycleOwner;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
.registers 4
const-string v0, "source"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "event"
invoke-static {p2, p1}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 143
sget-object p1, Lcom/imo/android/imoim/world/widget/b;->a:[I
invoke-virtual {p2}, Landroidx/lifecycle/Lifecycle$Event;->ordinal()I
move-result p2
aget p1, p1, p2
const/4 p2, 0x1
if-eq p1, p2, :cond_28
const/4 p2, 0x2
if-eq p1, p2, :cond_22
const/4 p2, 0x3
if-eq p1, p2, :cond_1c
goto :goto_21
.line 152
:cond_1c
iget-object p1, p0, Lcom/imo/android/imoim/world/widget/BannerView$bindLifecycle$1;->a:Lcom/imo/android/imoim/world/widget/BannerView;
invoke-static {p1}, Lcom/imo/android/imoim/world/widget/BannerView;->b(Lcom/imo/android/imoim/world/widget/BannerView;)V
:goto_21
return-void
.line 149
:cond_22
iget-object p1, p0, Lcom/imo/android/imoim/world/widget/BannerView$bindLifecycle$1;->a:Lcom/imo/android/imoim/world/widget/BannerView;
invoke-static {p1}, Lcom/imo/android/imoim/world/widget/BannerView;->a(Lcom/imo/android/imoim/world/widget/BannerView;)V
return-void
.line 145
:cond_28
iget-object p1, p0, Lcom/imo/android/imoim/world/widget/BannerView$bindLifecycle$1;->a:Lcom/imo/android/imoim/world/widget/BannerView;
invoke-static {p1}, Lcom/imo/android/imoim/world/widget/BannerView;->a(Lcom/imo/android/imoim/world/widget/BannerView;)V
.line 146
iget-object p1, p0, Lcom/imo/android/imoim/world/widget/BannerView$bindLifecycle$1;->b:Landroidx/lifecycle/LifecycleOwner;
invoke-interface {p1}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
move-result-object p1
move-object p2, p0
check-cast p2, Landroidx/lifecycle/LifecycleObserver;
invoke-virtual {p1, p2}, Landroidx/lifecycle/Lifecycle;->removeObserver(Landroidx/lifecycle/LifecycleObserver;)V
return-void
.end method