88 lines
2.1 KiB
Smali
88 lines
2.1 KiB
Smali
.class public final Landroidx/activity/ActivityViewModelLazyKt;
|
|
.super Ljava/lang/Object;
|
|
.source "ActivityViewModelLazy.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public static final viewModels(Landroidx/activity/ComponentActivity;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
|
|
.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
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
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
|
|
invoke-static {}, Lk0/n/c/h;->reifiedOperationMarker()V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$viewModels"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static viewModels$default(Landroidx/activity/ComponentActivity;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lkotlin/Lazy;
|
|
.locals 0
|
|
|
|
and-int/lit8 p2, p2, 0x1
|
|
|
|
const/4 p3, 0x0
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
move-object p1, p3
|
|
|
|
:cond_0
|
|
if-eqz p0, :cond_2
|
|
|
|
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
|
|
invoke-static {}, Lk0/n/c/h;->reifiedOperationMarker()V
|
|
|
|
throw p3
|
|
|
|
:cond_2
|
|
const-string p0, "$this$viewModels"
|
|
|
|
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw p3
|
|
.end method
|