EditCommentComponent$g.smali
.class final Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent$g;
.super Lkotlin/f/b/p;
.source "SourceFile"
# interfaces
.implements Lkotlin/f/a/a;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent;-><init>(Lsg/bigo/core/component/c;Lcom/imo/android/imoim/feeds/ui/detail/components/comment/g;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/f/b/p;",
"Lkotlin/f/a/a<",
"Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/viewmodel/CommentPanelViewModel;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent;)V
.registers 2
iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent$g;->a:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent;
const/4 p1, 0x0
invoke-direct {p0, p1}, Lkotlin/f/b/p;-><init>(I)V
return-void
.end method
# virtual methods
.method public final synthetic invoke()Ljava/lang/Object;
.registers 5
.line 1110
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent$g;->a:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent;
invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent;->d(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent;)Lcom/imo/android/imoim/feeds/ui/detail/e;
move-result-object v0
const-string v1, "mActivityServiceWrapper"
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {v0}, Lcom/imo/android/imoim/feeds/ui/detail/e;->b()Landroid/content/Context;
move-result-object v0
if-eqz v0, :cond_32
check-cast v0, Landroidx/fragment/app/FragmentActivity;
invoke-static {v0}, Landroidx/lifecycle/ViewModelProviders;->of(Landroidx/fragment/app/FragmentActivity;)Landroidx/lifecycle/ViewModelProvider;
move-result-object v0
const-class v1, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/viewmodel/CommentPanelViewModel;
invoke-virtual {v0, v1}, Landroidx/lifecycle/ViewModelProvider;->get(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/viewmodel/CommentPanelViewModel;
.line 1111
invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/viewmodel/CommentPanelViewModel;->a()Landroidx/lifecycle/MediatorLiveData;
move-result-object v1
iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent$g;->a:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent;
check-cast v2, Landroidx/lifecycle/LifecycleOwner;
.line 1112
new-instance v3, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent$g$a;
invoke-direct {v3, p0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent$g$a;-><init>(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent$g;)V
check-cast v3, Landroidx/lifecycle/Observer;
.line 1111
invoke-virtual {v1, v2, v3}, Landroidx/lifecycle/MediatorLiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
return-object v0
.line 1110
:cond_32
new-instance v0, Lkotlin/TypeCastException;
const-string v1, "null cannot be cast to non-null type androidx.fragment.app.FragmentActivity"
invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw v0
.end method