FloorsSourceView.smali
.class public Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;
.super Landroid/widget/FrameLayout;
.source "SourceFile"
# instance fields
.field private a:Landroid/widget/TextView;
.field private b:Lcom/imo/android/imoim/fresco/ImoImageView;
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.registers 4
const/4 v0, 0x0
const/4 v1, 0x0
.line 32
invoke-direct {p0, p1, v0, v1}, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.registers 4
const/4 v0, 0x0
.line 36
invoke-direct {p0, p1, p2, v0}, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;-><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 4
.line 40
invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
return-void
.end method
.method private static synthetic a(Ljava/lang/String;Lcom/imo/android/imoim/data/message/b/a;Landroid/content/Context;Landroid/view/View;)V
.registers 11
.line 2082
invoke-static {}, Lcom/imo/android/imoim/biggroup/i/d$a;->a()Lcom/imo/android/imoim/biggroup/i/d;
.line 2093
iget-object p3, p1, Lcom/imo/android/imoim/data/message/b/a;->a:Ljava/lang/String;
const-string v0, "click_detail_bglabel"
const-string v1, ""
.line 72
invoke-static {v0, v1, p0, p3}, Lcom/imo/android/imoim/biggroup/i/d;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.line 73
invoke-static {}, Lcom/imo/android/imoim/biggroup/k/a;->b()Lcom/imo/android/imoim/biggroup/j/m;
move-result-object p0
iget-object p3, p1, Lcom/imo/android/imoim/data/message/b/a;->a:Ljava/lang/String;
invoke-interface {p0, p3}, Lcom/imo/android/imoim/biggroup/j/m;->i(Ljava/lang/String;)Z
move-result p0
if-nez p0, :cond_29
.line 74
iget-object v1, p1, Lcom/imo/android/imoim/data/message/b/a;->a:Ljava/lang/String;
iget-object v4, p1, Lcom/imo/android/imoim/data/message/b/a;->a:Ljava/lang/String;
const-string v2, "reply_share_card"
const-string v3, ""
const-string v5, "floor_msg_detail"
const-string v6, ""
move-object v0, p2
invoke-static/range {v0 .. v6}, Lcom/imo/android/imoim/biggroup/view/BigGroupHomeActivity;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
return-void
.line 76
:cond_29
iget-object p0, p1, Lcom/imo/android/imoim/data/message/b/a;->a:Ljava/lang/String;
const-string p1, "floor_msg_detail"
invoke-static {p2, p0, p1}, Lcom/imo/android/imoim/biggroup/view/chat/BigGroupChatActivity;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method
.method public static synthetic lambda$21ViIUo9X8lMxYV1GnsMTRcuQgU(Ljava/lang/String;Lcom/imo/android/imoim/data/message/b/a;Landroid/content/Context;Landroid/view/View;)V
.registers 4
invoke-static {p0, p1, p2, p3}, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;->a(Ljava/lang/String;Lcom/imo/android/imoim/data/message/b/a;Landroid/content/Context;Landroid/view/View;)V
return-void
.end method
# virtual methods
.method public final a(Landroid/content/Context;Ljava/lang/String;Lcom/imo/android/imoim/data/message/b/d;Ljava/lang/String;)Z
.registers 9
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/imo/android/imoim/data/message/k;",
">(",
"Landroid/content/Context;",
"Ljava/lang/String;",
"Lcom/imo/android/imoim/data/message/b/d;",
"Ljava/lang/String;",
")Z"
}
.end annotation
.line 52
instance-of v0, p3, Lcom/imo/android/imoim/data/message/b/a;
const/16 v1, 0x8
const/4 v2, 0x0
if-nez v0, :cond_b
.line 53
invoke-virtual {p0, v1}, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;->setVisibility(I)V
return v2
.line 58
:cond_b
move-object v0, p3
check-cast v0, Lcom/imo/android/imoim/data/message/b/a;
.line 59
iget-object v3, v0, Lcom/imo/android/imoim/data/message/b/a;->a:Ljava/lang/String;
invoke-virtual {v3, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_22
const-string v3, "deeplink"
invoke-static {p4, v3}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
move-result p4
if-nez p4, :cond_22
.line 60
invoke-virtual {p0, v1}, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;->setVisibility(I)V
return v2
.line 1083
:cond_22
invoke-virtual {p0}, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;->removeAllViews()V
const p4, 0x7f0b05d2
.line 1085
invoke-static {p1, p4, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
const p4, 0x7f091440
.line 1086
invoke-virtual {p0, p4}, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;->findViewById(I)Landroid/view/View;
move-result-object p4
check-cast p4, Landroid/widget/TextView;
iput-object p4, p0, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;->a:Landroid/widget/TextView;
const p4, 0x7f0909d1
.line 1087
invoke-virtual {p0, p4}, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;->findViewById(I)Landroid/view/View;
move-result-object p4
check-cast p4, Lcom/imo/android/imoim/fresco/ImoImageView;
iput-object p4, p0, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;->b:Lcom/imo/android/imoim/fresco/ImoImageView;
.line 66
invoke-virtual {p0, v2}, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;->setVisibility(I)V
.line 67
invoke-virtual {p3}, Lcom/imo/android/imoim/data/message/b/d;->d()Ljava/lang/String;
move-result-object p4
.line 68
iget-object v1, p0, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;->a:Landroid/widget/TextView;
invoke-virtual {v1, p4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
.line 69
iget-object p4, p0, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;->b:Lcom/imo/android/imoim/fresco/ImoImageView;
const/4 v1, 0x0
invoke-virtual {p3}, Lcom/imo/android/imoim/data/message/b/d;->b()Ljava/lang/String;
move-result-object v2
invoke-virtual {p3}, Lcom/imo/android/imoim/data/message/b/d;->c()Ljava/lang/String;
move-result-object p3
const/4 v3, 0x1
invoke-static {p4, v1, v2, p3, v3}, Lcom/imo/android/imoim/managers/aq;->a(Lcom/imo/android/imoim/fresco/ImoImageView;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
.line 71
new-instance p3, Lcom/imo/android/imoim/biggroup/view/floors/-$$Lambda$FloorsSourceView$21ViIUo9X8lMxYV1GnsMTRcuQgU;
invoke-direct {p3, p2, v0, p1}, Lcom/imo/android/imoim/biggroup/view/floors/-$$Lambda$FloorsSourceView$21ViIUo9X8lMxYV1GnsMTRcuQgU;-><init>(Ljava/lang/String;Lcom/imo/android/imoim/data/message/b/a;Landroid/content/Context;)V
invoke-virtual {p0, p3}, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
return v3
.end method
.method public getSourceIv()Lcom/imo/android/imoim/fresco/ImoImageView;
.registers 2
.line 44
iget-object v0, p0, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;->b:Lcom/imo/android/imoim/fresco/ImoImageView;
return-object v0
.end method
.method public getSourceTv()Landroid/widget/TextView;
.registers 2
.line 48
iget-object v0, p0, Lcom/imo/android/imoim/biggroup/view/floors/FloorsSourceView;->a:Landroid/widget/TextView;
return-object v0
.end method