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

50 lines
1.2 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public Landroidx/lifecycle/AndroidViewModel;
.super Landroidx/lifecycle/ViewModel;
.source "AndroidViewModel.java"
# instance fields
2019-12-06 03:29:40 +00:00
.field public mApplication:Landroid/app/Application;
.annotation build Landroid/annotation/SuppressLint;
value = {
"StaticFieldLeak"
}
.end annotation
.end field
2019-07-24 11:27:29 +00:00
# direct methods
.method public constructor <init>(Landroid/app/Application;)V
.locals 0
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/app/Application;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
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
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/NonNull;
.end annotation
2019-07-24 11:27:29 +00:00
.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