50 lines
1.2 KiB
Smali
50 lines
1.2 KiB
Smali
|
.class public Landroidx/lifecycle/AndroidViewModel;
|
||
|
.super Landroidx/lifecycle/ViewModel;
|
||
|
.source "AndroidViewModel.java"
|
||
|
|
||
|
|
||
|
# 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
|