apkfuckery/com.discord/smali/androidx/activity/ActivityViewModelLazyKt.smali

78 lines
2.1 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Landroidx/activity/ActivityViewModelLazyKt;
.super Ljava/lang/Object;
.source "ActivityViewModelLazy.kt"
# direct methods
2020-09-16 23:45:23 +00:00
.method public static final synthetic viewModels(Landroidx/activity/ComponentActivity;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
2020-07-08 16:44:49 +00:00
.locals 1
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<VM:",
"Landroidx/lifecycle/ViewModel;",
">(",
"Landroidx/activity/ComponentActivity;",
"Lkotlin/jvm/functions/Function0<",
"+",
"Landroidx/lifecycle/ViewModelProvider$Factory;",
">;)",
"Lkotlin/Lazy<",
"TVM;>;"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string v0, "$this$viewModels"
2020-07-08 16:44:49 +00:00
2020-09-29 21:44:44 +00:00
invoke-static {p0, v0}, Lb0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
if-eqz p1, :cond_0
goto :goto_0
:cond_0
new-instance p1, Landroidx/activity/ActivityViewModelLazyKt$viewModels$factoryPromise$1;
invoke-direct {p1, p0}, Landroidx/activity/ActivityViewModelLazyKt$viewModels$factoryPromise$1;-><init>(Landroidx/activity/ComponentActivity;)V
:goto_0
2020-09-29 21:44:44 +00:00
invoke-static {}, Lb0/n/c/j;->reifiedOperationMarker()V
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
const/4 p0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
throw p0
2020-07-08 16:44:49 +00:00
.end method
2020-09-16 23:45:23 +00:00
.method public static synthetic viewModels$default(Landroidx/activity/ComponentActivity;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lkotlin/Lazy;
2020-07-08 16:44:49 +00:00
.locals 0
and-int/lit8 p2, p2, 0x1
const/4 p3, 0x0
if-eqz p2, :cond_0
move-object p1, p3
:cond_0
2020-09-16 23:45:23 +00:00
const-string p2, "$this$viewModels"
2020-09-29 21:44:44 +00:00
invoke-static {p0, p2}, Lb0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
if-eqz p1, :cond_1
goto :goto_0
:cond_1
new-instance p1, Landroidx/activity/ActivityViewModelLazyKt$viewModels$factoryPromise$1;
invoke-direct {p1, p0}, Landroidx/activity/ActivityViewModelLazyKt$viewModels$factoryPromise$1;-><init>(Landroidx/activity/ComponentActivity;)V
:goto_0
2020-09-29 21:44:44 +00:00
invoke-static {}, Lb0/n/c/j;->reifiedOperationMarker()V
2020-07-08 16:44:49 +00:00
throw p3
.end method