CommentVHolder.smali
.class public final Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;
.super Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder<",
"Lcom/masala/share/proto/model/VideoCommentItem;",
">;"
}
.end annotation
# static fields
.field static final synthetic a:[Lkotlin/k/g;
# instance fields
.field private b:F
.field private c:F
.field private final d:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/viewmodel/CommentPanelViewModel;
.field private final e:Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/imo/android/imoim/feeds/ui/AppBaseActivity<",
"+",
"Lsg/bigo/core/mvp/presenter/a;",
">;"
}
.end annotation
.end field
.field private final j:Lkotlin/f;
.field private final k:Landroid/view/View;
# direct methods
.method static constructor <clinit>()V
.registers 5
const/4 v0, 0x1
new-array v0, v0, [Lkotlin/k/g;
new-instance v1, Lkotlin/f/b/z;
const-class v2, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;
invoke-static {v2}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;
move-result-object v2
const-string v3, "commentPanelComponent"
const-string v4, "getCommentPanelComponent()Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/ICommentPanelComponent;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/f/b/z;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/y;)Lkotlin/k/j;
move-result-object v1
check-cast v1, Lkotlin/k/g;
const/4 v2, 0x0
aput-object v1, v0, v2
sput-object v0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->a:[Lkotlin/k/g;
return-void
.end method
.method public constructor <init>(Landroid/view/View;)V
.registers 4
const-string v0, "view"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 51
invoke-direct {p0, p1}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder;-><init>(Landroid/view/View;)V
iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
.line 55
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object p1
const-string v0, "null cannot be cast to non-null type com.imo.android.imoim.feeds.ui.AppBaseActivity<out sg.bigo.core.mvp.presenter.BasePresenter>"
if-eqz p1, :cond_76
check-cast p1, Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;
check-cast p1, Landroidx/fragment/app/FragmentActivity;
invoke-static {p1}, Landroidx/lifecycle/ViewModelProviders;->of(Landroidx/fragment/app/FragmentActivity;)Landroidx/lifecycle/ViewModelProvider;
move-result-object p1
.line 56
const-class v1, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/viewmodel/CommentPanelViewModel;
invoke-virtual {p1, v1}, Landroidx/lifecycle/ViewModelProvider;->get(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
move-result-object p1
const-string v1, "ViewModelProviders\n \u2026nelViewModel::class.java)"
invoke-static {p1, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p1, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/viewmodel/CommentPanelViewModel;
iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->d:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/viewmodel/CommentPanelViewModel;
.line 57
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object p1
if-eqz p1, :cond_70
check-cast p1, Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;
iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->e:Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;
.line 58
new-instance p1, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder$a;
invoke-direct {p1, p0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder$a;-><init>(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;)V
check-cast p1, Lkotlin/f/a/a;
invoke-static {p1}, Lkotlin/g;->a(Lkotlin/f/a/a;)Lkotlin/f;
move-result-object p1
iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->j:Lkotlin/f;
.line 63
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
move-object v0, p0
check-cast v0, Landroid/view/View$OnClickListener;
invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 64
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
new-instance v1, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder$1;
invoke-direct {v1, p0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder$1;-><init>(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;)V
check-cast v1, Landroid/view/View$OnLongClickListener;
invoke-virtual {p1, v1}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
.line 65
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
sget v1, Lcom/masala/share/b$a;->layout_user_like:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroid/widget/LinearLayout;
invoke-virtual {p1, v0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 67
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
new-instance v0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder$2;
invoke-direct {v0, p0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder$2;-><init>(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;)V
check-cast v0, Landroid/view/View$OnTouchListener;
invoke-virtual {p1, v0}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V
return-void
.line 57
:cond_70
new-instance p1, Lkotlin/TypeCastException;
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw p1
.line 55
:cond_76
new-instance p1, Lkotlin/TypeCastException;
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public static final synthetic a(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;)Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/viewmodel/CommentPanelViewModel;
.registers 1
.line 51
iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->d:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/viewmodel/CommentPanelViewModel;
return-object p0
.end method
.method public static final synthetic a(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;F)V
.registers 2
.line 51
iput p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->c:F
return-void
.end method
.method private final b()Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/a;
.registers 2
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->j:Lkotlin/f;
invoke-interface {v0}, Lkotlin/f;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/a;
return-object v0
.end method
.method public static final synthetic b(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;)Lcom/masala/share/proto/model/VideoCommentItem;
.registers 1
.line 51
iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast p0, Lcom/masala/share/proto/model/VideoCommentItem;
return-object p0
.end method
.method public static final synthetic b(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;F)V
.registers 2
.line 51
iput p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->b:F
return-void
.end method
.method public static final synthetic c(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;)Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/a;
.registers 1
.line 51
invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->b()Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/a;
move-result-object p0
return-object p0
.end method
.method private final c()V
.registers 4
.line 137
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
sget v1, Lcom/masala/share/b$a;->layout_comment_author_like:I
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/LinearLayout;
const-string v1, "view.layout_comment_author_like"
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast v1, Lcom/masala/share/proto/model/VideoCommentItem;
iget-boolean v1, v1, Lcom/masala/share/proto/model/VideoCommentItem;->isAuthorLike:Z
if-eqz v1, :cond_19
const/4 v1, 0x0
goto :goto_1b
:cond_19
const/16 v1, 0x8
:goto_1b
invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V
.line 140
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast v0, Lcom/masala/share/proto/model/VideoCommentItem;
iget-boolean v0, v0, Lcom/masala/share/proto/model/VideoCommentItem;->isLikeStatus:Z
if-eqz v0, :cond_2a
const v0, 0x7e0700b0
goto :goto_2d
:cond_2a
const v0, 0x7e0700ae
.line 141
:goto_2d
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
sget v2, Lcom/masala/share/b$a;->icon_user_like:I
invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Landroid/widget/ImageView;
invoke-static {v0}, Lsg/bigo/mobile/android/aab/c/b;->a(I)Landroid/graphics/drawable/Drawable;
move-result-object v0
invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
.line 142
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
sget v1, Lcom/masala/share/b$a;->like_nums:I
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/TextView;
const-string v1, "view.like_nums"
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast v1, Lcom/masala/share/proto/model/VideoCommentItem;
iget v1, v1, Lcom/masala/share/proto/model/VideoCommentItem;->likeCount:I
invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v1
check-cast v1, Ljava/lang/CharSequence;
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
return-void
.end method
.method public static final synthetic d(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;)Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;
.registers 1
.line 51
iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->e:Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;
return-object p0
.end method
.method public static final synthetic e(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;)Z
.registers 6
.line 4092
new-instance v0, Landroid/util/SparseArray;
invoke-direct {v0}, Landroid/util/SparseArray;-><init>()V
.line 4093
iget v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->c:F
invoke-static {v1}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object v1
const/4 v2, 0x0
invoke-virtual {v0, v2, v1}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
.line 4094
iget v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->b:F
invoke-static {v1}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object v1
const/4 v2, 0x1
invoke-virtual {v0, v2, v1}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
.line 4095
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
invoke-virtual {v1}, Landroid/view/View;->getId()I
move-result v1
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const/4 v3, 0x2
invoke-virtual {v0, v3, v1}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
.line 4096
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
const/4 v3, 0x3
invoke-virtual {v0, v3, v1}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
.line 4097
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->e:Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;
invoke-virtual {v1}, Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;->getPostComponentBus()Lsg/bigo/core/component/a/d;
move-result-object v1
sget-object v3, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a;->a:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a$a;
.line 5071
invoke-static {}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a;->l()Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a;
move-result-object v3
.line 4097
check-cast v3, Lsg/bigo/core/component/a/b;
invoke-interface {v1, v3, v0}, Lsg/bigo/core/component/a/d;->a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V
.line 4098
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
move-result-object v0
if-eqz v0, :cond_49
invoke-interface {v0, v2}, Landroid/view/ViewParent;->requestDisallowInterceptTouchEvent(Z)V
.line 4099
:cond_49
invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->b()Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/a;
move-result-object v0
if-eqz v0, :cond_5a
const/16 v1, 0xd4
iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast p0, Lcom/masala/share/proto/model/VideoCommentItem;
iget-wide v3, p0, Lcom/masala/share/proto/model/VideoCommentItem;->commentId:J
invoke-interface {v0, v1, v3, v4}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/a;->a(IJ)V
:cond_5a
return v2
.end method
.method public static final synthetic f(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;)Landroid/view/View;
.registers 1
.line 51
iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
return-object p0
.end method
# virtual methods
.method public final synthetic a(ILjava/lang/Object;)V
.registers 5
.line 51
check-cast p2, Lcom/masala/share/proto/model/VideoCommentItem;
const-string v0, "commentItem"
invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 1079
invoke-super {p0, p1, p2}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder;->a(ILjava/lang/Object;)V
.line 1113
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
sget p2, Lcom/masala/share/b$a;->icon_comment_user:I
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Lcom/imo/android/imoim/feeds/ui/views/YYAvatar;
.line 1114
iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast p2, Lcom/masala/share/proto/model/VideoCommentItem;
iget-object p2, p2, Lcom/masala/share/proto/model/VideoCommentItem;->avatarUrl:Ljava/lang/String;
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast v0, Lcom/masala/share/proto/model/VideoCommentItem;
iget-wide v0, v0, Lcom/masala/share/proto/model/VideoCommentItem;->uid:J
invoke-virtual {p1, p2, v0, v1}, Lcom/imo/android/imoim/feeds/ui/views/YYAvatar;->a(Ljava/lang/String;J)V
const/4 p2, 0x1
new-array v0, p2, [Landroid/view/View;
.line 1115
check-cast p1, Landroid/view/View;
const/4 v1, 0x0
aput-object p1, v0, v1
invoke-virtual {p0, v0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->a([Landroid/view/View;)V
.line 1117
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
sget v0, Lcom/masala/share/b$a;->comment_user:I
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroid/widget/TextView;
.line 1118
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast v0, Lcom/masala/share/proto/model/VideoCommentItem;
iget-object v0, v0, Lcom/masala/share/proto/model/VideoCommentItem;->nickName:Ljava/lang/String;
check-cast v0, Ljava/lang/CharSequence;
invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
new-array p2, p2, [Landroid/view/View;
.line 1119
check-cast p1, Landroid/view/View;
aput-object p1, p2, v1
invoke-virtual {p0, p2}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->a([Landroid/view/View;)V
.line 1125
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
sget p2, Lcom/masala/share/b$a;->comment_text:I
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroid/widget/TextView;
const-string p2, "view.comment_text"
invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast p2, Lcom/masala/share/proto/model/VideoCommentItem;
iget-object p2, p2, Lcom/masala/share/proto/model/VideoCommentItem;->comment:Ljava/lang/String;
check-cast p2, Ljava/lang/CharSequence;
invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
.line 1128
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
sget p2, Lcom/masala/share/b$a;->comment_time:I
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroid/widget/TextView;
const-string p2, "view.comment_time"
invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
invoke-virtual {p2}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object p2
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast v0, Lcom/masala/share/proto/model/VideoCommentItem;
iget-wide v0, v0, Lcom/masala/share/proto/model/VideoCommentItem;->commentTime:J
invoke-static {p2, v0, v1}, Lcom/masala/share/utils/k;->a(Landroid/content/Context;J)Ljava/lang/String;
move-result-object p2
check-cast p2, Ljava/lang/CharSequence;
invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
.line 1131
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast p1, Lcom/masala/share/proto/model/VideoCommentItem;
iget-boolean p1, p1, Lcom/masala/share/proto/model/VideoCommentItem;->changeColor:Z
if-eqz p1, :cond_96
const p1, 0x7f06018a
goto :goto_99
:cond_96
const p1, 0x7f060410
.line 1132
:goto_99
iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
invoke-static {p1}, Lsg/bigo/mobile/android/aab/c/b;->b(I)I
move-result p1
invoke-virtual {p2, p1}, Landroid/view/View;->setBackgroundColor(I)V
.line 1106
invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->c()V
return-void
.end method
.method public final synthetic a(Ljava/lang/Object;Lcom/imo/android/imoim/feeds/ui/vhadapter/b;)V
.registers 3
const-string p1, "notify"
.line 51
invoke-static {p2, p1}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 2084
iget p1, p2, Lcom/imo/android/imoim/feeds/ui/vhadapter/b;->a:I
const/4 p2, 0x2
if-eq p1, p2, :cond_b
goto :goto_e
.line 2086
:cond_b
invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->c()V
:goto_e
return-void
.end method
.method public final onClick(Landroid/view/View;)V
.registers 14
const-string v0, "v"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 146
invoke-virtual {p1}, Landroid/view/View;->getId()I
move-result v0
const v1, 0x7e08003c
const v2, 0x7e080088
if-eq v0, v1, :cond_5c
if-eq v0, v2, :cond_5c
const p1, 0x7e0800e0
if-eq v0, p1, :cond_1a
goto/16 :goto_bc
.line 2172
:cond_1a
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast p1, Lcom/masala/share/proto/model/VideoCommentItem;
iget-boolean p1, p1, Lcom/masala/share/proto/model/VideoCommentItem;->isLikeStatus:Z
if-eqz p1, :cond_42
.line 2173
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->d:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/viewmodel/CommentPanelViewModel;
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
const-string v1, "mData"
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
check-cast v0, Lcom/masala/share/proto/model/VideoCommentItem;
invoke-virtual {p1, v0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/viewmodel/CommentPanelViewModel;->b(Lcom/masala/share/proto/model/VideoCommentItem;)V
.line 2174
invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->b()Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/a;
move-result-object p1
if-eqz p1, :cond_41
const/16 v0, 0xcb
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast v1, Lcom/masala/share/proto/model/VideoCommentItem;
iget-wide v1, v1, Lcom/masala/share/proto/model/VideoCommentItem;->commentId:J
invoke-interface {p1, v0, v1, v2}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/a;->a(IJ)V
:cond_41
return-void
.line 2176
:cond_42
sget-object p1, Lcom/imo/android/imoim/feeds/ui/home/profileauthority/b;->a:Lcom/imo/android/imoim/feeds/ui/home/profileauthority/b;
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->k:Landroid/view/View;
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object p1
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast v0, Lcom/masala/share/proto/model/VideoCommentItem;
iget-wide v0, v0, Lcom/masala/share/proto/model/VideoCommentItem;->postId:J
const/4 v2, 0x1
new-instance v3, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder$b;
invoke-direct {v3, p0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder$b;-><init>(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;)V
check-cast v3, Lkotlin/f/a/a;
invoke-static {p1, v0, v1, v2, v3}, Lcom/imo/android/imoim/feeds/ui/home/profileauthority/b;->a(Landroid/content/Context;JBLkotlin/f/a/a;)V
return-void
.line 151
:cond_5c
new-instance v10, Lcom/masala/share/proto/UserInfoStruct;
invoke-direct {v10}, Lcom/masala/share/proto/UserInfoStruct;-><init>()V
.line 152
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
if-eqz v0, :cond_6d
.line 153
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast v0, Lcom/masala/share/proto/model/VideoCommentItem;
iget-object v0, v0, Lcom/masala/share/proto/model/VideoCommentItem;->avatarUrl:Ljava/lang/String;
iput-object v0, v10, Lcom/masala/share/proto/UserInfoStruct;->e:Ljava/lang/String;
.line 155
:cond_6d
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast v0, Lcom/masala/share/proto/model/VideoCommentItem;
iget-wide v0, v0, Lcom/masala/share/proto/model/VideoCommentItem;->uid:J
long-to-int v1, v0
iput v1, v10, Lcom/masala/share/proto/UserInfoStruct;->a:I
.line 156
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->e:Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;
instance-of v1, v0, Lcom/imo/android/imoim/feeds/ui/detail/VideoDetailActivity;
if-eqz v1, :cond_82
.line 157
check-cast v0, Lcom/imo/android/imoim/feeds/ui/detail/VideoDetailActivity;
.line 3169
iget-boolean v0, v0, Lcom/imo/android/imoim/feeds/ui/detail/VideoDetailActivity;->i:Z
move v11, v0
goto :goto_84
:cond_82
const/4 v0, 0x0
const/4 v11, 0x0
.line 159
:goto_84
new-instance v0, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileActivity$UserProfileBundle;
sget-byte v5, Lcom/imo/android/imoim/feeds/ui/user/a/a;->E:B
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast v1, Lcom/masala/share/proto/model/VideoCommentItem;
iget-wide v3, v1, Lcom/masala/share/proto/model/VideoCommentItem;->uid:J
long-to-int v6, v3
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast v1, Lcom/masala/share/proto/model/VideoCommentItem;
iget-wide v7, v1, Lcom/masala/share/proto/model/VideoCommentItem;->postId:J
const/16 v9, 0x8
move-object v4, v0
invoke-direct/range {v4 .. v11}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileActivity$UserProfileBundle;-><init>(BIJILcom/masala/share/proto/UserInfoStruct;Z)V
.line 161
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->e:Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;
check-cast v1, Landroid/app/Activity;
invoke-static {v1, v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileActivity;->a(Landroid/app/Activity;Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileActivity$UserProfileBundle;)V
.line 162
invoke-virtual {p1}, Landroid/view/View;->getId()I
move-result p1
if-ne p1, v2, :cond_ab
const/16 p1, 0xce
goto :goto_ad
:cond_ab
const/16 p1, 0xd0
.line 163
:goto_ad
invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->b()Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/a;
move-result-object v0
if-eqz v0, :cond_bc
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/bridge/CommentVHolder;->g:Ljava/lang/Object;
check-cast v1, Lcom/masala/share/proto/model/VideoCommentItem;
iget-wide v1, v1, Lcom/masala/share/proto/model/VideoCommentItem;->commentId:J
invoke-interface {v0, p1, v1, v2}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/a;->a(IJ)V
:cond_bc
:goto_bc
return-void
.end method