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

63 lines
1.6 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public Landroidx/lifecycle/ViewModelStores;
.super Ljava/lang/Object;
.source "ViewModelStores.java"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static of(Landroidx/fragment/app/Fragment;)Landroidx/lifecycle/ViewModelStore;
.locals 0
2019-12-06 03:29:40 +00:00
.param p0 # Landroidx/fragment/app/Fragment;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
2019-07-24 11:27:29 +00:00
.annotation runtime Ljava/lang/Deprecated;
.end annotation
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getViewModelStore()Landroidx/lifecycle/ViewModelStore;
move-result-object p0
return-object p0
.end method
.method public static of(Landroidx/fragment/app/FragmentActivity;)Landroidx/lifecycle/ViewModelStore;
.locals 0
2019-12-06 03:29:40 +00:00
.param p0 # Landroidx/fragment/app/FragmentActivity;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
2019-07-24 11:27:29 +00:00
.annotation runtime Ljava/lang/Deprecated;
.end annotation
2019-12-06 03:29:40 +00:00
invoke-virtual {p0}, Landroidx/activity/ComponentActivity;->getViewModelStore()Landroidx/lifecycle/ViewModelStore;
2019-07-24 11:27:29 +00:00
move-result-object p0
return-object p0
.end method