ImoHonorComponent$2.smali
.class final Lcom/imo/android/imoim/profile/honor/ImoHonorComponent$2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/lifecycle/Observer;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;->c()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Landroidx/lifecycle/Observer<",
"Lcom/imo/android/imoim/profile/viewmodel/b;",
">;"
}
.end annotation
# instance fields
.field a:Z
.field final synthetic b:Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;)V
.registers 2
.line 119
iput-object p1, p0, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent$2;->b:Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;
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 119
check-cast p1, Lcom/imo/android/imoim/profile/viewmodel/b;
.line 2176
iget-object v0, p1, Lcom/imo/android/imoim/profile/viewmodel/b;->o:Lcom/imo/android/imoim/profile/honor/e;
if-nez v0, :cond_12
.line 1125
iget-object p1, p0, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent$2;->b:Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;
invoke-static {p1}, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;->h(Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;)Landroid/view/View;
move-result-object p1
const/16 v0, 0x8
invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V
return-void
.line 1129
:cond_12
iget-boolean v0, p0, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent$2;->a:Z
if-nez v0, :cond_5f
const/4 v0, 0x1
.line 1133
iput-boolean v0, p0, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent$2;->a:Z
.line 1134
iget-object v0, p0, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent$2;->b:Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;
invoke-static {v0}, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;->g(Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;)Ljava/lang/String;
move-result-object v0
if-nez v0, :cond_2a
.line 1135
iget-object v0, p0, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent$2;->b:Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;
.line 3176
iget-object v1, p1, Lcom/imo/android/imoim/profile/viewmodel/b;->o:Lcom/imo/android/imoim/profile/honor/e;
.line 1135
iget-object v1, v1, Lcom/imo/android/imoim/profile/honor/e;->a:Ljava/lang/String;
invoke-static {v0, v1}, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;->a(Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;Ljava/lang/String;)Ljava/lang/String;
.line 1137
:cond_2a
new-instance v0, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent$2$1;
invoke-direct {v0, p0}, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent$2$1;-><init>(Lcom/imo/android/imoim/profile/honor/ImoHonorComponent$2;)V
.line 1218
iget-object v1, p0, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent$2;->b:Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;
invoke-static {v1}, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;->v(Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;)Z
move-result v1
if-eqz v1, :cond_46
.line 1219
const-class v1, Lcom/imo/android/imoim/profile/honor/c;
invoke-static {v1}, Lsg/bigo/mobile/android/a/a/a;->a(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/imo/android/imoim/profile/honor/c;
.line 4176
iget-object v2, p1, Lcom/imo/android/imoim/profile/viewmodel/b;->o:Lcom/imo/android/imoim/profile/honor/e;
.line 1219
iget-object v2, v2, Lcom/imo/android/imoim/profile/honor/e;->a:Ljava/lang/String;
invoke-interface {v1, v2}, Lcom/imo/android/imoim/profile/honor/c;->a(Ljava/lang/String;)V
.line 1221
:cond_46
const-class v1, Lcom/imo/android/imoim/profile/honor/c;
invoke-static {v1}, Lsg/bigo/mobile/android/a/a/a;->a(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/imo/android/imoim/profile/honor/c;
.line 5176
iget-object p1, p1, Lcom/imo/android/imoim/profile/viewmodel/b;->o:Lcom/imo/android/imoim/profile/honor/e;
.line 1221
iget-object p1, p1, Lcom/imo/android/imoim/profile/honor/e;->a:Ljava/lang/String;
invoke-interface {v1, p1}, Lcom/imo/android/imoim/profile/honor/c;->c(Ljava/lang/String;)Landroidx/lifecycle/LiveData;
move-result-object p1
iget-object v1, p0, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent$2;->b:Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;
.line 1222
invoke-static {v1}, Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;->w(Lcom/imo/android/imoim/profile/honor/ImoHonorComponent;)Landroidx/fragment/app/FragmentActivity;
move-result-object v1
invoke-virtual {p1, v1, v0}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
:cond_5f
return-void
.end method