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

50 lines
1.2 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public Landroidx/lifecycle/AndroidViewModel;
.super Landroidx/lifecycle/ViewModel;
2019-02-04 20:29:01 +00:00
.source "AndroidViewModel.java"
2019-02-04 20:08:30 +00:00
# instance fields
.field private mApplication:Landroid/app/Application;
.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