apkfuckery/com.discord/smali/androidx/fragment/app/FragmentViewModelLazyKt$activityViewModels$2.smali
2020-11-09 19:03:49 +00:00

80 lines
2.4 KiB
Smali

.class public final Landroidx/fragment/app/FragmentViewModelLazyKt$activityViewModels$2;
.super Ly/n/c/k;
.source "FragmentViewModelLazy.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function0;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/fragment/app/FragmentViewModelLazyKt;->activityViewModels(Landroidx/fragment/app/Fragment;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function0<",
"Landroidx/lifecycle/ViewModelProvider$Factory;",
">;"
}
.end annotation
# instance fields
.field public final synthetic $this_activityViewModels:Landroidx/fragment/app/Fragment;
# direct methods
.method public constructor <init>(Landroidx/fragment/app/Fragment;)V
.locals 0
iput-object p1, p0, Landroidx/fragment/app/FragmentViewModelLazyKt$activityViewModels$2;->$this_activityViewModels:Landroidx/fragment/app/Fragment;
const/4 p1, 0x0
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public final invoke()Landroidx/lifecycle/ViewModelProvider$Factory;
.locals 2
iget-object v0, p0, Landroidx/fragment/app/FragmentViewModelLazyKt$activityViewModels$2;->$this_activityViewModels:Landroidx/fragment/app/Fragment;
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->requireActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v0
const-string v1, "requireActivity()"
invoke-static {v0, v1}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v0}, Landroidx/activity/ComponentActivity;->getDefaultViewModelProviderFactory()Landroidx/lifecycle/ViewModelProvider$Factory;
move-result-object v0
const-string v1, "requireActivity().defaultViewModelProviderFactory"
invoke-static {v0, v1}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
.end method
.method public bridge synthetic invoke()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Landroidx/fragment/app/FragmentViewModelLazyKt$activityViewModels$2;->invoke()Landroidx/lifecycle/ViewModelProvider$Factory;
move-result-object v0
return-object v0
.end method