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

50 lines
1.2 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public Landroidx/lifecycle/AndroidViewModel;
.super Landroidx/lifecycle/ViewModel;
.source "AndroidViewModel.java"
# instance fields
2020-11-16 22:05:17 +00:00
.field private mApplication:Landroid/app/Application;
2020-11-12 02:11:44 +00:00
.annotation build Landroid/annotation/SuppressLint;
value = {
"StaticFieldLeak"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Landroid/app/Application;)V
.locals 0
.param p1 # Landroid/app/Application;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-direct {p0}, Landroidx/lifecycle/ViewModel;-><init>()V
iput-object p1, p0, Landroidx/lifecycle/AndroidViewModel;->mApplication:Landroid/app/Application;
return-void
.end method
# virtual methods
.method public getApplication()Landroid/app/Application;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Landroid/app/Application;",
">()TT;"
}
.end annotation
iget-object v0, p0, Landroidx/lifecycle/AndroidViewModel;->mApplication:Landroid/app/Application;
return-object v0
.end method