apkfuckery/com.discord/smali/androidx/lifecycle/CompositeGeneratedAdaptersObserver.smali

73 lines
2 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/lifecycle/CompositeGeneratedAdaptersObserver;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "CompositeGeneratedAdaptersObserver.java"
# interfaces
2019-10-07 23:23:22 +00:00
.implements Landroidx/lifecycle/LifecycleEventObserver;
2019-07-24 11:27:29 +00:00
# instance fields
2019-12-06 03:29:40 +00:00
.field public final mGeneratedAdapters:[Landroidx/lifecycle/GeneratedAdapter;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>([Landroidx/lifecycle/GeneratedAdapter;)V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/lifecycle/CompositeGeneratedAdaptersObserver;->mGeneratedAdapters:[Landroidx/lifecycle/GeneratedAdapter;
return-void
.end method
# virtual methods
.method public onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
.locals 6
new-instance v0, Landroidx/lifecycle/MethodCallsLogger;
invoke-direct {v0}, Landroidx/lifecycle/MethodCallsLogger;-><init>()V
iget-object v1, p0, Landroidx/lifecycle/CompositeGeneratedAdaptersObserver;->mGeneratedAdapters:[Landroidx/lifecycle/GeneratedAdapter;
array-length v2, v1
const/4 v3, 0x0
const/4 v4, 0x0
:goto_0
if-ge v4, v2, :cond_0
aget-object v5, v1, v4
invoke-interface {v5, p1, p2, v3, v0}, Landroidx/lifecycle/GeneratedAdapter;->callMethods(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;ZLandroidx/lifecycle/MethodCallsLogger;)V
add-int/lit8 v4, v4, 0x1
goto :goto_0
:cond_0
iget-object v1, p0, Landroidx/lifecycle/CompositeGeneratedAdaptersObserver;->mGeneratedAdapters:[Landroidx/lifecycle/GeneratedAdapter;
array-length v2, v1
:goto_1
if-ge v3, v2, :cond_1
aget-object v4, v1, v3
const/4 v5, 0x1
invoke-interface {v4, p1, p2, v5, v0}, Landroidx/lifecycle/GeneratedAdapter;->callMethods(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;ZLandroidx/lifecycle/MethodCallsLogger;)V
add-int/lit8 v3, v3, 0x1
goto :goto_1
:cond_1
return-void
.end method