MyIntroductionViewModel.smali
.class public Lcom/imo/android/imoim/profile/introduction/viewmodel/MyIntroductionViewModel;
.super Landroidx/lifecycle/ViewModel;
.source "SourceFile"
# instance fields
.field public a:Lcom/imo/android/imoim/profile/introduction/b/a;
# direct methods
.method public constructor <init>()V
.registers 2
.line 25
invoke-direct {p0}, Landroidx/lifecycle/ViewModel;-><init>()V
.line 26
new-instance v0, Lcom/imo/android/imoim/profile/introduction/b/b;
invoke-direct {v0}, Lcom/imo/android/imoim/profile/introduction/b/b;-><init>()V
iput-object v0, p0, Lcom/imo/android/imoim/profile/introduction/viewmodel/MyIntroductionViewModel;->a:Lcom/imo/android/imoim/profile/introduction/b/a;
return-void
.end method
.method public static a(Landroidx/fragment/app/FragmentActivity;)Lcom/imo/android/imoim/profile/introduction/viewmodel/MyIntroductionViewModel;
.registers 2
.line 30
invoke-static {p0}, Landroidx/lifecycle/ViewModelProviders;->of(Landroidx/fragment/app/FragmentActivity;)Landroidx/lifecycle/ViewModelProvider;
move-result-object p0
const-class v0, Lcom/imo/android/imoim/profile/introduction/viewmodel/MyIntroductionViewModel;
invoke-virtual {p0, v0}, Landroidx/lifecycle/ViewModelProvider;->get(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
move-result-object p0
check-cast p0, Lcom/imo/android/imoim/profile/introduction/viewmodel/MyIntroductionViewModel;
return-object p0
.end method
# virtual methods
.method public final a(Ljava/util/List;)Landroidx/lifecycle/LiveData;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Lcom/imo/android/imoim/profile/introduction/a/a;",
">;)",
"Landroidx/lifecycle/LiveData<",
"Lcom/imo/android/common/mvvm/e;",
">;"
}
.end annotation
.line 65
new-instance v0, Landroidx/lifecycle/MutableLiveData;
invoke-direct {v0}, Landroidx/lifecycle/MutableLiveData;-><init>()V
.line 66
iget-object v1, p0, Lcom/imo/android/imoim/profile/introduction/viewmodel/MyIntroductionViewModel;->a:Lcom/imo/android/imoim/profile/introduction/b/a;
new-instance v2, Lcom/imo/android/imoim/profile/introduction/viewmodel/MyIntroductionViewModel$2;
invoke-direct {v2, p0, v0}, Lcom/imo/android/imoim/profile/introduction/viewmodel/MyIntroductionViewModel$2;-><init>(Lcom/imo/android/imoim/profile/introduction/viewmodel/MyIntroductionViewModel;Landroidx/lifecycle/MutableLiveData;)V
invoke-interface {v1, p1, v2}, Lcom/imo/android/imoim/profile/introduction/b/a;->a(Ljava/util/List;Lb/a;)V
return-object v0
.end method
.method public final a()Landroidx/lifecycle/MutableLiveData;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Landroidx/lifecycle/MutableLiveData<",
"Ljava/util/List<",
"Lcom/imo/android/imoim/profile/introduction/a/a;",
">;>;"
}
.end annotation
.line 35
iget-object v0, p0, Lcom/imo/android/imoim/profile/introduction/viewmodel/MyIntroductionViewModel;->a:Lcom/imo/android/imoim/profile/introduction/b/a;
invoke-interface {v0}, Lcom/imo/android/imoim/profile/introduction/b/a;->b()Landroidx/lifecycle/MutableLiveData;
move-result-object v0
return-object v0
.end method