BgBindCommunityDelegate.smali
.class public final Lcom/imo/android/imoim/biggroup/messagehelper/BgBindCommunityDelegate;
.super Lcom/imo/android/imoim/biggroup/messagehelper/BgNotificationDelegate;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/imo/android/imoim/biggroup/messagehelper/BgBindCommunityDelegate$NotifyBindCommunityViewHolder;
}
.end annotation
# direct methods
.method public constructor <init>(Lcom/imo/android/imoim/biggroup/messagehelper/a/a;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/imo/android/imoim/biggroup/messagehelper/a/a<",
"Lcom/imo/android/imoim/biggroup/messagehelper/NotifyMessage;",
">;)V"
}
.end annotation
const-string v0, "actionDelegate"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 17
invoke-direct {p0, p1}, Lcom/imo/android/imoim/biggroup/messagehelper/BgNotificationDelegate;-><init>(Lcom/imo/android/imoim/biggroup/messagehelper/a/a;)V
return-void
.end method
# virtual methods
.method protected final a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;)Lcom/imo/android/imoim/biggroup/messagehelper/BgNotificationDelegate$ContentViewHolder;
.registers 5
const-string v0, "inflater"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "parent"
invoke-static {p2, p1}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 35
invoke-virtual {p2}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
move-result-object p1
invoke-static {p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
move-result-object p1
const v0, 0x7f0b034d
const/4 v1, 0x0
invoke-virtual {p1, v0, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
move-result-object p1
.line 38
new-instance p2, Lcom/imo/android/imoim/biggroup/messagehelper/BgBindCommunityDelegate$NotifyBindCommunityViewHolder;
const-string v0, "view"
invoke-static {p1, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p2, p1}, Lcom/imo/android/imoim/biggroup/messagehelper/BgBindCommunityDelegate$NotifyBindCommunityViewHolder;-><init>(Landroid/view/View;)V
check-cast p2, Lcom/imo/android/imoim/biggroup/messagehelper/BgNotificationDelegate$ContentViewHolder;
return-object p2
.end method
.method protected final a(Lcom/imo/android/imoim/biggroup/messagehelper/BgNotificationDelegate$ContentViewHolder;Lcom/imo/android/imoim/biggroup/messagehelper/NotifyMessage;)V
.registers 6
const-string v0, "viewHolder"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "action"
invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 26
instance-of v0, p1, Lcom/imo/android/imoim/biggroup/messagehelper/BgBindCommunityDelegate$NotifyBindCommunityViewHolder;
const/4 v1, 0x0
if-nez v0, :cond_10
move-object p1, v1
:cond_10
check-cast p1, Lcom/imo/android/imoim/biggroup/messagehelper/BgBindCommunityDelegate$NotifyBindCommunityViewHolder;
if-eqz p1, :cond_33
.line 1057
iget-object v0, p1, Lcom/imo/android/imoim/biggroup/messagehelper/BgBindCommunityDelegate$NotifyBindCommunityViewHolder;->a:Landroid/widget/TextView;
.line 27
invoke-static {p2}, Lcom/imo/android/imoim/biggroup/messagehelper/a;->a(Lcom/imo/android/imoim/biggroup/messagehelper/NotifyMessage;)Ljava/lang/String;
move-result-object v2
check-cast v2, Ljava/lang/CharSequence;
invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
.line 1058
iget-object p1, p1, Lcom/imo/android/imoim/biggroup/messagehelper/BgBindCommunityDelegate$NotifyBindCommunityViewHolder;->b:Lcom/imo/android/imoim/fresco/XCircleImageView;
.line 30
check-cast p1, Lcom/imo/android/imoim/fresco/ImoImageView;
iget-object p2, p2, Lcom/imo/android/imoim/biggroup/messagehelper/NotifyMessage;->e:Lcom/imo/android/imoim/biggroup/messagehelper/NotifyMessage$ImData;
if-eqz p2, :cond_2e
iget-object p2, p2, Lcom/imo/android/imoim/biggroup/messagehelper/NotifyMessage$ImData;->q:Lcom/imo/android/imoim/communitymodule/data/n;
if-eqz p2, :cond_2e
.line 2012
iget-object p2, p2, Lcom/imo/android/imoim/communitymodule/data/n;->b:Ljava/lang/String;
goto :goto_2f
:cond_2e
move-object p2, v1
:goto_2f
const/4 v0, 0x1
.line 30
invoke-static {p1, p2, v1, v1, v0}, Lcom/imo/android/imoim/managers/aq;->a(Lcom/imo/android/imoim/fresco/ImoImageView;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
:cond_33
return-void
.end method
.method protected final a(Lcom/imo/android/imoim/biggroup/messagehelper/BgNotificationDelegate$ViewHolder;Lcom/imo/android/imoim/biggroup/messagehelper/NotifyMessage;I)V
.registers 4
.line 46
invoke-super {p0, p1, p2, p3}, Lcom/imo/android/imoim/biggroup/messagehelper/BgNotificationDelegate;->a(Lcom/imo/android/imoim/biggroup/messagehelper/BgNotificationDelegate$ViewHolder;Lcom/imo/android/imoim/biggroup/messagehelper/NotifyMessage;I)V
return-void
.end method
.method protected final a(Lcom/imo/android/imoim/biggroup/messagehelper/NotifyMessage;)Z
.registers 3
const-string v0, "action"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 21
iget-object p1, p1, Lcom/imo/android/imoim/biggroup/messagehelper/NotifyMessage;->a:Ljava/lang/String;
const-string v0, "bind_community"
.line 19
invoke-static {v0, p1}, Lcom/imo/android/imoim/biggroup/messagehelper/a;->a(Ljava/lang/String;Ljava/lang/String;)Z
move-result p1
return p1
.end method