ChannelReproduceView.smali
.class public final Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;
.super Landroid/widget/RelativeLayout;
.source "SourceFile"
# instance fields
.field private a:Lcom/imo/android/imoim/widgets/onpressedcontainer/OPCRelativeLayout;
.field private b:Lcom/imo/android/imoim/fresco/XCircleImageView;
.field private c:Landroid/widget/TextView;
.field private d:Landroid/widget/RelativeLayout;
.field private e:Landroid/widget/TextView;
.field private f:Landroid/widget/ImageView;
.field private g:Landroid/view/View;
.field private h:Lcom/imo/android/imoim/publicchannel/a;
.field private i:Landroid/widget/ImageView;
.field private j:Lcom/imo/android/imoim/publicchannel/post/ac;
.field private k:Lcom/imo/android/imoim/publicchannel/view/d;
.field private final l:Landroid/view/View$OnClickListener;
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.registers 3
const/4 v0, 0x0
.line 45
invoke-direct {p0, p1, v0}, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.registers 4
const/4 v0, 0x0
.line 47
invoke-direct {p0, p1, p2, v0}, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.registers 5
.line 49
invoke-direct {p0, p1, p2, p3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.line 62
iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->f:Landroid/widget/ImageView;
if-eqz p1, :cond_e
sget-object p2, Lcom/imo/android/imoim/util/do;->a:Lcom/imo/android/imoim/util/do$a;
check-cast p1, Landroid/view/View;
invoke-static {p1}, Lcom/imo/android/imoim/util/do$a;->c(Landroid/view/View;)V
.line 65
:cond_e
new-instance p1, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView$b;
invoke-direct {p1, p0}, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView$b;-><init>(Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;)V
check-cast p1, Landroid/view/View$OnClickListener;
iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->l:Landroid/view/View$OnClickListener;
.line 50
invoke-virtual {p0}, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->getContext()Landroid/content/Context;
move-result-object p1
const p2, 0x77050020
move-object p3, p0
check-cast p3, Landroid/view/ViewGroup;
const/4 v0, 0x1
invoke-static {p1, p2, p3, v0}, Lsg/bigo/mobile/android/aab/c/b;->a(Landroid/content/Context;ILandroid/view/ViewGroup;Z)Landroid/view/View;
const p1, 0x770400b0
.line 51
invoke-virtual {p0, p1}, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Lcom/imo/android/imoim/widgets/onpressedcontainer/OPCRelativeLayout;
iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->a:Lcom/imo/android/imoim/widgets/onpressedcontainer/OPCRelativeLayout;
const p1, 0x7704008c
.line 52
invoke-virtual {p0, p1}, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->findViewById(I)Landroid/view/View;
move-result-object p1
iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->g:Landroid/view/View;
const p1, 0x770400c7
.line 53
invoke-virtual {p0, p1}, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Lcom/imo/android/imoim/fresco/XCircleImageView;
iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->b:Lcom/imo/android/imoim/fresco/XCircleImageView;
const p1, 0x770400c4
.line 54
invoke-virtual {p0, p1}, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroid/widget/TextView;
iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->c:Landroid/widget/TextView;
const p1, 0x770400c5
.line 55
invoke-virtual {p0, p1}, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroid/widget/RelativeLayout;
iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->d:Landroid/widget/RelativeLayout;
const p1, 0x770400c6
.line 56
invoke-virtual {p0, p1}, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroid/widget/TextView;
iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->e:Landroid/widget/TextView;
const p1, 0x770400c3
.line 57
invoke-virtual {p0, p1}, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroid/widget/ImageView;
iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->f:Landroid/widget/ImageView;
.line 58
new-instance p1, Lcom/imo/android/imoim/publicchannel/view/d;
iget-object p2, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->c:Landroid/widget/TextView;
if-nez p2, :cond_79
invoke-static {}, Lkotlin/f/b/o;->a()V
:cond_79
invoke-direct {p1, p2}, Lcom/imo/android/imoim/publicchannel/view/d;-><init>(Landroid/widget/TextView;)V
iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->k:Lcom/imo/android/imoim/publicchannel/view/d;
return-void
.end method
.method public static final synthetic a(Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;)Landroid/widget/ImageView;
.registers 1
.line 31
iget-object p0, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->f:Landroid/widget/ImageView;
return-object p0
.end method
.method public static final synthetic a(Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;Lcom/imo/android/imoim/publicchannel/post/ac;Lcom/imo/android/imoim/publicchannel/a;Landroid/widget/ImageView;Ljava/lang/Boolean;)V
.registers 5
if-eqz p2, :cond_22
if-eqz p1, :cond_7
.line 1086
invoke-static {p1, p3}, Lcom/imo/android/imoim/publicchannel/q;->b(Lcom/imo/android/imoim/publicchannel/post/ac;Landroid/widget/ImageView;)V
.line 1088
:cond_7
invoke-virtual {p0}, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->getContext()Landroid/content/Context;
move-result-object p0
instance-of p1, p0, Landroid/app/Activity;
if-nez p1, :cond_10
const/4 p0, 0x0
:cond_10
check-cast p0, Landroid/app/Activity;
if-eqz p0, :cond_22
.line 1089
sget-object p1, Lcom/imo/android/imoim/publicchannel/profile/ChannelProfileActivity;->e:Lcom/imo/android/imoim/publicchannel/profile/ChannelProfileActivity$a;
iget-object p1, p2, Lcom/imo/android/imoim/publicchannel/a;->a:Ljava/lang/String;
const-string p2, "it.channelId"
invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
const-string p2, "reproduce_card"
invoke-static {p0, p1, p2, p4}, Lcom/imo/android/imoim/publicchannel/profile/ChannelProfileActivity$a;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;)V
:cond_22
return-void
.end method
.method public static final synthetic b(Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;)Landroid/widget/RelativeLayout;
.registers 1
.line 31
iget-object p0, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->d:Landroid/widget/RelativeLayout;
return-object p0
.end method
.method public static final synthetic c(Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;)Landroid/widget/TextView;
.registers 1
.line 31
iget-object p0, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->e:Landroid/widget/TextView;
return-object p0
.end method
.method public static final synthetic d(Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;)Lcom/imo/android/imoim/publicchannel/a;
.registers 1
.line 31
iget-object p0, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->h:Lcom/imo/android/imoim/publicchannel/a;
return-object p0
.end method
.method public static final synthetic e(Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;)Lcom/imo/android/imoim/publicchannel/post/ac;
.registers 1
.line 31
iget-object p0, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->j:Lcom/imo/android/imoim/publicchannel/post/ac;
return-object p0
.end method
.method public static final synthetic f(Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;)Landroid/widget/ImageView;
.registers 1
.line 31
iget-object p0, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->i:Landroid/widget/ImageView;
return-object p0
.end method
# virtual methods
.method public final a(Lcom/imo/android/imoim/publicchannel/post/ac;Landroid/widget/ImageView;)V
.registers 5
const-string v0, "post"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "readIcon"
invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 95
iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->j:Lcom/imo/android/imoim/publicchannel/post/ac;
.line 96
iput-object p2, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->i:Landroid/widget/ImageView;
.line 97
iget-object p1, p1, Lcom/imo/android/imoim/publicchannel/post/ac;->x:Lcom/imo/android/imoim/publicchannel/a;
iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->h:Lcom/imo/android/imoim/publicchannel/a;
if-eqz p1, :cond_6c
.line 99
iget-object p2, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->a:Lcom/imo/android/imoim/widgets/onpressedcontainer/OPCRelativeLayout;
if-eqz p2, :cond_1c
const/4 v0, 0x0
invoke-virtual {p2, v0}, Lcom/imo/android/imoim/widgets/onpressedcontainer/OPCRelativeLayout;->setVisibility(I)V
.line 100
:cond_1c
iget-object p2, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->d:Landroid/widget/RelativeLayout;
if-eqz p2, :cond_25
iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->l:Landroid/view/View$OnClickListener;
invoke-virtual {p2, v0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 101
:cond_25
iget-object p2, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->a:Lcom/imo/android/imoim/widgets/onpressedcontainer/OPCRelativeLayout;
if-eqz p2, :cond_2e
iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->l:Landroid/view/View$OnClickListener;
invoke-virtual {p2, v0}, Lcom/imo/android/imoim/widgets/onpressedcontainer/OPCRelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 102
:cond_2e
iget-object p2, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->a:Lcom/imo/android/imoim/widgets/onpressedcontainer/OPCRelativeLayout;
if-eqz p2, :cond_37
iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->g:Landroid/view/View;
invoke-virtual {p2, v0}, Lcom/imo/android/imoim/widgets/onpressedcontainer/OPCRelativeLayout;->setOverlapLayer(Landroid/view/View;)V
.line 103
:cond_37
iget-object p2, p1, Lcom/imo/android/imoim/publicchannel/a;->d:Ljava/lang/String;
if-eqz p2, :cond_44
.line 104
sget-object v0, Lcom/imo/android/imoim/publicchannel/i;->a:Lcom/imo/android/imoim/publicchannel/i;
iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->b:Lcom/imo/android/imoim/fresco/XCircleImageView;
check-cast v0, Lcom/imo/android/imoim/fresco/ImoImageView;
invoke-static {v0, p2}, Lcom/imo/android/imoim/publicchannel/i;->b(Lcom/imo/android/imoim/fresco/ImoImageView;Ljava/lang/String;)V
.line 107
:cond_44
iget-object p2, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->k:Lcom/imo/android/imoim/publicchannel/view/d;
iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->h:Lcom/imo/android/imoim/publicchannel/a;
invoke-virtual {p2, v0}, Lcom/imo/android/imoim/publicchannel/view/d;->a(Lcom/imo/android/imoim/publicchannel/a;)V
.line 110
invoke-virtual {p0}, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->getContext()Landroid/content/Context;
move-result-object p2
instance-of v0, p2, Landroidx/lifecycle/LifecycleOwner;
const/4 v1, 0x0
if-nez v0, :cond_55
move-object p2, v1
:cond_55
check-cast p2, Landroidx/lifecycle/LifecycleOwner;
if-eqz p2, :cond_6a
.line 111
iget-object v0, p1, Lcom/imo/android/imoim/publicchannel/a;->a:Ljava/lang/String;
invoke-static {v0}, Lcom/imo/android/imoim/publicchannel/n;->e(Ljava/lang/String;)Landroidx/lifecycle/LiveData;
move-result-object v0
new-instance v1, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView$a;
invoke-direct {v1, p1, p0}, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView$a;-><init>(Lcom/imo/android/imoim/publicchannel/a;Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;)V
check-cast v1, Landroidx/lifecycle/Observer;
invoke-virtual {v0, p2, v1}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
move-object v1, p2
:cond_6a
if-nez v1, :cond_77
.line 124
:cond_6c
iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelReproduceView;->a:Lcom/imo/android/imoim/widgets/onpressedcontainer/OPCRelativeLayout;
if-eqz p1, :cond_75
const/16 p2, 0x8
invoke-virtual {p1, p2}, Lcom/imo/android/imoim/widgets/onpressedcontainer/OPCRelativeLayout;->setVisibility(I)V
.line 125
:cond_75
sget-object p1, Lkotlin/w;->a:Lkotlin/w;
:cond_77
return-void
.end method