GiftWallComponent$f.smali
.class final Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent$f;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/lifecycle/Observer;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;->c()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Landroidx/lifecycle/Observer<",
"Lcom/imo/android/imoim/profile/viewmodel/b;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;)V
.registers 2
iput-object p1, p0, Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent$f;->a:Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final synthetic onChanged(Ljava/lang/Object;)V
.registers 5
.line 69
check-cast p1, Lcom/imo/android/imoim/profile/viewmodel/b;
if-eqz p1, :cond_7
.line 1176
iget-object v0, p1, Lcom/imo/android/imoim/profile/viewmodel/b;->o:Lcom/imo/android/imoim/profile/honor/e;
goto :goto_8
:cond_7
const/4 v0, 0x0
:goto_8
const-string v1, "[GiftWallComponent]"
if-nez v0, :cond_28
.line 1129
iget-object p1, p0, Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent$f;->a:Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;
sget v0, Lcom/imo/android/imoim/k$a;->giftWallContainer:I
invoke-virtual {p1, v0}, Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;->b(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroidx/constraintlayout/widget/ConstraintLayout;
const-string v0, "giftWallContainer"
invoke-static {p1, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
const/16 v0, 0x8
invoke-virtual {p1, v0}, Landroidx/constraintlayout/widget/ConstraintLayout;->setVisibility(I)V
.line 1130
sget-object p1, Lcom/imo/android/imoim/profile/giftwall/l;->a:Lcom/imo/android/imoim/profile/giftwall/l;
const-string p1, "imoHonorListInfo is null gift wall doesn\'t show "
invoke-static {v1, p1}, Lcom/imo/android/imoim/profile/giftwall/l;->a(Ljava/lang/String;Ljava/lang/String;)V
return-void
.line 1133
:cond_28
iget-object v0, p0, Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent$f;->a:Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;
invoke-static {v0}, Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;->a(Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;)Z
move-result v0
if-eqz v0, :cond_38
.line 1134
sget-object p1, Lcom/imo/android/imoim/profile/giftwall/l;->a:Lcom/imo/android/imoim/profile/giftwall/l;
const-string p1, "gift wall is already show "
invoke-static {v1, p1}, Lcom/imo/android/imoim/profile/giftwall/l;->a(Ljava/lang/String;Ljava/lang/String;)V
return-void
.line 1137
:cond_38
iget-object v0, p0, Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent$f;->a:Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;
invoke-static {v0}, Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;->b(Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;)V
.line 1138
iget-object v0, p0, Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent$f;->a:Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;
.line 2176
iget-object v2, p1, Lcom/imo/android/imoim/profile/viewmodel/b;->o:Lcom/imo/android/imoim/profile/honor/e;
.line 1138
iget-object v2, v2, Lcom/imo/android/imoim/profile/honor/e;->a:Ljava/lang/String;
.line 3084
iput-object v2, v0, Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;->c:Ljava/lang/String;
.line 1139
sget-object v0, Lcom/imo/android/imoim/profile/giftwall/l;->a:Lcom/imo/android/imoim/profile/giftwall/l;
const-string v0, "start fetch gift wall\'s data"
invoke-static {v1, v0}, Lcom/imo/android/imoim/profile/giftwall/l;->a(Ljava/lang/String;Ljava/lang/String;)V
.line 1140
const-class v0, Lcom/imo/android/imoim/profile/honor/c;
invoke-static {v0}, Lsg/bigo/mobile/android/a/a/a;->a(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/profile/honor/c;
if-eqz v0, :cond_6c
iget-object v1, p0, Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent$f;->a:Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;
.line 4084
iget-object v1, v1, Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;->c:Ljava/lang/String;
.line 1140
invoke-interface {v0, v1}, Lcom/imo/android/imoim/profile/honor/c;->c(Ljava/lang/String;)Landroidx/lifecycle/LiveData;
move-result-object v0
iget-object v1, p0, Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent$f;->a:Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent;
check-cast v1, Landroidx/lifecycle/LifecycleOwner;
new-instance v2, Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent$f$1;
invoke-direct {v2, p0, p1}, Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent$f$1;-><init>(Lcom/imo/android/imoim/profile/giftwall/GiftWallComponent$f;Lcom/imo/android/imoim/profile/viewmodel/b;)V
check-cast v2, Landroidx/lifecycle/Observer;
invoke-virtual {v0, v1, v2}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
:cond_6c
return-void
.end method