95 lines
3.3 KiB
Smali
95 lines
3.3 KiB
Smali
.class public Lcom/youth/banner/util/BannerLifecycleObserverAdapter;
|
|
.super Ljava/lang/Object;
|
|
.source "BannerLifecycleObserverAdapter.java"
|
|
|
|
# interfaces
|
|
.implements Landroidx/lifecycle/LifecycleObserver;
|
|
|
|
|
|
# instance fields
|
|
.field private final mLifecycleOwner:Landroidx/lifecycle/LifecycleOwner;
|
|
|
|
.field private final mObserver:Lcom/youth/banner/util/BannerLifecycleObserver;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/lifecycle/LifecycleOwner;Lcom/youth/banner/util/BannerLifecycleObserver;)V
|
|
.locals 0
|
|
|
|
.line 12
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 13
|
|
iput-object p1, p0, Lcom/youth/banner/util/BannerLifecycleObserverAdapter;->mLifecycleOwner:Landroidx/lifecycle/LifecycleOwner;
|
|
|
|
.line 14
|
|
iput-object p2, p0, Lcom/youth/banner/util/BannerLifecycleObserverAdapter;->mObserver:Lcom/youth/banner/util/BannerLifecycleObserver;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onDestroy()V
|
|
.locals 2
|
|
.annotation runtime Landroidx/lifecycle/OnLifecycleEvent;
|
|
value = .enum Landroidx/lifecycle/Lifecycle$Event;->ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event;
|
|
.end annotation
|
|
|
|
const-string v0, "onDestroy"
|
|
|
|
.line 31
|
|
invoke-static {v0}, Lcom/youth/banner/util/LogUtils;->i(Ljava/lang/String;)V
|
|
|
|
.line 32
|
|
iget-object v0, p0, Lcom/youth/banner/util/BannerLifecycleObserverAdapter;->mObserver:Lcom/youth/banner/util/BannerLifecycleObserver;
|
|
|
|
iget-object v1, p0, Lcom/youth/banner/util/BannerLifecycleObserverAdapter;->mLifecycleOwner:Landroidx/lifecycle/LifecycleOwner;
|
|
|
|
invoke-interface {v0, v1}, Lcom/youth/banner/util/BannerLifecycleObserver;->onDestroy(Landroidx/lifecycle/LifecycleOwner;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onStart()V
|
|
.locals 2
|
|
.annotation runtime Landroidx/lifecycle/OnLifecycleEvent;
|
|
value = .enum Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
|
|
.end annotation
|
|
|
|
const-string v0, "onStart"
|
|
|
|
.line 19
|
|
invoke-static {v0}, Lcom/youth/banner/util/LogUtils;->i(Ljava/lang/String;)V
|
|
|
|
.line 20
|
|
iget-object v0, p0, Lcom/youth/banner/util/BannerLifecycleObserverAdapter;->mObserver:Lcom/youth/banner/util/BannerLifecycleObserver;
|
|
|
|
iget-object v1, p0, Lcom/youth/banner/util/BannerLifecycleObserverAdapter;->mLifecycleOwner:Landroidx/lifecycle/LifecycleOwner;
|
|
|
|
invoke-interface {v0, v1}, Lcom/youth/banner/util/BannerLifecycleObserver;->onStart(Landroidx/lifecycle/LifecycleOwner;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onStop()V
|
|
.locals 2
|
|
.annotation runtime Landroidx/lifecycle/OnLifecycleEvent;
|
|
value = .enum Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
|
|
.end annotation
|
|
|
|
const-string v0, "onStop"
|
|
|
|
.line 25
|
|
invoke-static {v0}, Lcom/youth/banner/util/LogUtils;->i(Ljava/lang/String;)V
|
|
|
|
.line 26
|
|
iget-object v0, p0, Lcom/youth/banner/util/BannerLifecycleObserverAdapter;->mObserver:Lcom/youth/banner/util/BannerLifecycleObserver;
|
|
|
|
iget-object v1, p0, Lcom/youth/banner/util/BannerLifecycleObserverAdapter;->mLifecycleOwner:Landroidx/lifecycle/LifecycleOwner;
|
|
|
|
invoke-interface {v0, v1}, Lcom/youth/banner/util/BannerLifecycleObserver;->onStop(Landroidx/lifecycle/LifecycleOwner;)V
|
|
|
|
return-void
|
|
.end method
|