BaseRecommendUserViewHolder.smali
.class public Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;
.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/user/RecUserInfo;",
">;"
}
.end annotation
# instance fields
.field final a:Lcom/imo/android/imoim/feeds/ui/widget/followbutton/AbsFollowButton;
.field private final b:Landroidx/recyclerview/widget/RecyclerView;
.field private final c:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
.field private final d:Landroid/content/Context;
.field private final e:B
# direct methods
.method public constructor <init>(Landroid/view/View;Landroidx/recyclerview/widget/RecyclerView;Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;Landroid/content/Context;B)V
.registers 7
const-string v0, "recyclerView"
invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "viewModel"
invoke-static {p3, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "mContext"
invoke-static {p4, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 32
invoke-direct {p0, p1}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder;-><init>(Landroid/view/View;)V
iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->b:Landroidx/recyclerview/widget/RecyclerView;
iput-object p3, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->c:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
iput-object p4, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->d:Landroid/content/Context;
iput-byte p5, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->e:B
if-nez p1, :cond_1f
.line 34
invoke-static {}, Lkotlin/f/b/o;->a()V
:cond_1f
const p2, 0x7e080019
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
const-string p2, "itemView!!.findViewById(R.id.btn_follow)"
invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p1, Lcom/imo/android/imoim/feeds/ui/widget/followbutton/AbsFollowButton;
iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->a:Lcom/imo/android/imoim/feeds/ui/widget/followbutton/AbsFollowButton;
return-void
.end method
.method public static final synthetic a(Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;)Lcom/masala/share/proto/user/RecUserInfo;
.registers 1
.line 28
iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast p0, Lcom/masala/share/proto/user/RecUserInfo;
return-object p0
.end method
.method public static final synthetic b(Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;)V
.registers 4
.line 10119
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->b:Landroidx/recyclerview/widget/RecyclerView;
check-cast v0, Landroid/view/View;
invoke-static {v0}, Landroidx/core/view/ViewCompat;->isAttachedToWindow(Landroid/view/View;)Z
move-result v0
if-eqz v0, :cond_40
.line 10120
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->b:Landroidx/recyclerview/widget/RecyclerView;
invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
move-result-object v0
if-eqz v0, :cond_38
check-cast v0, Landroidx/recyclerview/widget/LinearLayoutManager;
.line 10122
invoke-virtual {v0}, Landroidx/recyclerview/widget/LinearLayoutManager;->findFirstVisibleItemPosition()I
move-result v1
.line 10123
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/LinearLayoutManager;->findViewByPosition(I)Landroid/view/View;
move-result-object v0
const/4 v1, 0x0
if-eqz v0, :cond_2a
.line 10125
invoke-virtual {v0}, Landroid/view/View;->getWidth()I
move-result v0
const/4 v2, 0x5
invoke-static {v2}, Lcom/masala/share/utils/l;->a(I)I
move-result v2
add-int/2addr v0, v2
goto :goto_2b
:cond_2a
const/4 v0, 0x0
.line 10127
:goto_2b
iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->b:Landroidx/recyclerview/widget/RecyclerView;
new-instance v2, Landroid/view/animation/DecelerateInterpolator;
invoke-direct {v2}, Landroid/view/animation/DecelerateInterpolator;-><init>()V
check-cast v2, Landroid/view/animation/Interpolator;
invoke-virtual {p0, v0, v1, v2}, Landroidx/recyclerview/widget/RecyclerView;->smoothScrollBy(IILandroid/view/animation/Interpolator;)V
goto :goto_40
.line 10120
:cond_38
new-instance p0, Lkotlin/TypeCastException;
const-string v0, "null cannot be cast to non-null type androidx.recyclerview.widget.LinearLayoutManager"
invoke-direct {p0, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw p0
:cond_40
:goto_40
return-void
.end method
# virtual methods
.method public final a()I
.registers 2
.line 132
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast v0, Lcom/masala/share/proto/user/RecUserInfo;
iget-object v0, v0, Lcom/masala/share/proto/user/RecUserInfo;->a:Lcom/masala/share/uid/Uid;
invoke-virtual {v0}, Lcom/masala/share/uid/Uid;->b()I
move-result v0
return v0
.end method
.method public final b()I
.registers 2
.line 136
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast v0, Lcom/masala/share/proto/user/RecUserInfo;
iget v0, v0, Lcom/masala/share/proto/user/RecUserInfo;->b:I
return v0
.end method
.method protected final c()Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
.registers 2
.line 30
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->c:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
return-object v0
.end method
.method protected final d()Landroid/content/Context;
.registers 2
.line 31
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->d:Landroid/content/Context;
return-object v0
.end method
.method public onClick(Landroid/view/View;)V
.registers 16
if-nez p1, :cond_3
return-void
.line 41
:cond_3
invoke-virtual {p1}, Landroid/view/View;->getId()I
move-result v0
const v1, 0x7e080019
if-ne v0, v1, :cond_89
.line 1069
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
if-eqz p1, :cond_88
.line 1072
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
const-string v0, "mData"
invoke-static {p1, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p1, Lcom/masala/share/proto/user/RecUserInfo;
invoke-virtual {p1}, Lcom/masala/share/proto/user/RecUserInfo;->h()Z
move-result p1
if-eqz p1, :cond_3f
.line 1073
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast p1, Lcom/masala/share/proto/user/RecUserInfo;
iget-object p1, p1, Lcom/masala/share/proto/user/RecUserInfo;->a:Lcom/masala/share/uid/Uid;
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
invoke-static {v1, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
check-cast v1, Lcom/masala/share/proto/user/RecUserInfo;
invoke-virtual {v1}, Lcom/masala/share/proto/user/RecUserInfo;->c()Ljava/lang/String;
move-result-object v0
const/16 v1, 0x8
.line 1074
iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->d:Landroid/content/Context;
.line 1075
new-instance v3, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder$a;
invoke-direct {v3, p0}, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder$a;-><init>(Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;)V
check-cast v3, Lcom/masala/share/f/c;
.line 1073
invoke-static {p1, v0, v1, v2, v3}, Lcom/masala/share/f/a;->a(Lcom/masala/share/uid/Uid;Ljava/lang/String;BLandroid/content/Context;Lcom/masala/share/f/c;)V
return-void
.line 1092
:cond_3f
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->c:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;->a()Lcom/masala/share/stat/t;
move-result-object p1
.line 1093
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->c:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
.line 2048
iget v0, v0, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;->h:I
.line 1093
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-static {p1, v0}, Lcom/masala/share/stat/t;->a(Lcom/masala/share/stat/t;Ljava/lang/Integer;)V
.line 1094
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast v0, Lcom/masala/share/proto/user/RecUserInfo;
iget-object v0, v0, Lcom/masala/share/proto/user/RecUserInfo;->a:Lcom/masala/share/uid/Uid;
invoke-virtual {v0}, Lcom/masala/share/uid/Uid;->b()I
move-result v0
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->c:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
.line 3046
iget-byte v1, v1, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;->g:B
.line 1094
iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast v2, Lcom/masala/share/proto/user/RecUserInfo;
iget v2, v2, Lcom/masala/share/proto/user/RecUserInfo;->b:I
invoke-virtual {p1, v0, v1, v2}, Lcom/masala/share/stat/t;->a(IBI)V
.line 1096
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast p1, Lcom/masala/share/proto/user/RecUserInfo;
iget-object v0, p1, Lcom/masala/share/proto/user/RecUserInfo;->a:Lcom/masala/share/uid/Uid;
const/16 v1, 0x8
.line 1097
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->c:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
.line 4046
iget-byte v2, p1, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;->g:B
.line 1097
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast p1, Lcom/masala/share/proto/user/RecUserInfo;
iget v3, p1, Lcom/masala/share/proto/user/RecUserInfo;->b:I
iget-object v4, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->d:Landroid/content/Context;
const-wide/16 v5, 0x0
.line 1098
new-instance p1, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder$b;
invoke-direct {p1, p0}, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder$b;-><init>(Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;)V
move-object v7, p1
check-cast v7, Lcom/masala/share/f/c;
.line 1096
invoke-static/range {v0 .. v7}, Lcom/masala/share/f/a;->a(Lcom/masala/share/uid/Uid;BBILandroid/content/Context;JLcom/masala/share/f/c;)V
:cond_88
return-void
.line 44
:cond_89
invoke-virtual {p1}, Landroid/view/View;->getId()I
move-result v0
const v1, 0x7e0800b3
const-string v2, "recommend_reason"
const-string v3, "recommend_source"
const-string v4, "post_position"
const-string v5, "product_uid"
const-string v6, "action"
if-ne v0, v1, :cond_157
.line 45
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->c:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;->a()Lcom/masala/share/stat/t;
move-result-object p1
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast v0, Lcom/masala/share/proto/user/RecUserInfo;
iget-object v0, v0, Lcom/masala/share/proto/user/RecUserInfo;->a:Lcom/masala/share/uid/Uid;
invoke-virtual {v0}, Lcom/masala/share/uid/Uid;->b()I
move-result v0
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->c:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
.line 5046
iget-byte v1, v1, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;->g:B
.line 45
iget-object v7, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast v7, Lcom/masala/share/proto/user/RecUserInfo;
iget v7, v7, Lcom/masala/share/proto/user/RecUserInfo;->b:I
const/4 v8, 0x4
.line 5168
invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v8
invoke-virtual {p1, v6, v8}, Lcom/masala/share/stat/t;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object v6
check-cast v6, Lcom/masala/share/stat/t;
.line 5169
invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {v6, v5, v0}, Lcom/masala/share/stat/t;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object v0
check-cast v0, Lcom/masala/share/stat/t;
.line 5170
iget p1, p1, Lcom/masala/share/stat/t;->a:I
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, v4, p1}, Lcom/masala/share/stat/t;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object p1
check-cast p1, Lcom/masala/share/stat/t;
.line 5171
invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v3, v0}, Lcom/masala/share/stat/t;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object p1
check-cast p1, Lcom/masala/share/stat/t;
.line 5172
invoke-static {v7}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v2, v0}, Lcom/masala/share/stat/t;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object p1
check-cast p1, Lcom/masala/share/stat/t;
.line 5173
invoke-virtual {p1}, Lcom/masala/share/stat/t;->reportN()V
.line 46
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->c:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast v0, Lcom/masala/share/proto/user/RecUserInfo;
iget-object v0, v0, Lcom/masala/share/proto/user/RecUserInfo;->a:Lcom/masala/share/uid/Uid;
const-string v1, "mData.uid"
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
const-string v1, "uid"
invoke-static {v0, v1}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const v2, 0x7e0b0094
const/4 v3, 0x0
new-array v4, v3, [Ljava/lang/Object;
.line 6164
invoke-static {v2, v4}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v2
invoke-static {v2}, Lsg/bigo/common/p;->a(Ljava/lang/String;)Z
move-result v2
if-eqz v2, :cond_156
.line 6167
iget-object v2, p1, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;->c:Lcom/imo/android/imoim/feeds/ui/recommend/a/e;
new-instance v4, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel$a;
invoke-direct {v4, p1, v0}, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel$a;-><init>(Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;Lcom/masala/share/uid/Uid;)V
check-cast v4, Lkotlin/f/a/b;
invoke-static {v0, v1}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "callback"
invoke-static {v4, p1}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 7097
new-instance p1, Lcom/masala/share/proto/protocol/h;
invoke-direct {p1}, Lcom/masala/share/proto/protocol/h;-><init>()V
.line 7098
iput-object v0, p1, Lcom/masala/share/proto/protocol/h;->d:Lcom/masala/share/uid/Uid;
.line 7099
invoke-static {}, Lsg/bigo/sdk/network/ipc/c;->a()Lsg/bigo/sdk/network/ipc/c;
move-result-object v0
const-string v1, "ProtoSourceHelper.getInstance()"
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {}, Lsg/bigo/sdk/network/ipc/c;->b()I
move-result v0
iput v0, p1, Lcom/masala/share/proto/protocol/h;->c:I
.line 7100
iget-object v0, v2, Lcom/imo/android/imoim/feeds/ui/recommend/a/e;->a:Ljava/lang/String;
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
const-string v5, "getRecommendUser: req = "
invoke-virtual {v5, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 7101
invoke-static {}, Lcom/masala/share/proto/networkclient/http/e;->a()Lcom/masala/share/proto/networkclient/http/e;
move-result-object v0
check-cast p1, Lcom/masala/share/proto/networkclient/a;
new-instance v1, Lcom/imo/android/imoim/feeds/ui/recommend/a/e$a;
invoke-direct {v1, v2, v4}, Lcom/imo/android/imoim/feeds/ui/recommend/a/e$a;-><init>(Lcom/imo/android/imoim/feeds/ui/recommend/a/e;Lkotlin/f/a/b;)V
check-cast v1, Lcom/masala/share/proto/networkclient/http/f;
.line 8114
invoke-virtual {v0, v3, p1, v1}, Lcom/masala/share/proto/networkclient/http/e;->a(ILcom/masala/share/proto/networkclient/a;Lcom/masala/share/proto/networkclient/http/f;)V
:cond_156
return-void
.line 48
:cond_157
iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->itemView:Landroid/view/View;
invoke-static {p1, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_214
.line 49
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->c:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
.line 9037
iget p1, p1, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;->d:I
const/4 v0, 0x7
packed-switch p1, :pswitch_data_216
const/4 p1, -0x1
const/4 v12, -0x1
goto :goto_16e
:pswitch_16a
const/4 v12, 0x7
goto :goto_16e
:pswitch_16c
const/4 p1, 0x6
const/4 v12, 0x6
.line 56
:goto_16e
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast p1, Lcom/masala/share/proto/user/RecUserInfo;
iget-object p1, p1, Lcom/masala/share/proto/user/RecUserInfo;->a:Lcom/masala/share/uid/Uid;
invoke-virtual {p1}, Lcom/masala/share/uid/Uid;->b()I
move-result p1
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast v1, Lcom/masala/share/proto/user/RecUserInfo;
iget-object v1, v1, Lcom/masala/share/proto/user/RecUserInfo;->e:Ljava/util/HashMap;
check-cast v1, Ljava/util/Map;
invoke-static {p1, v1}, Lcom/masala/share/proto/user/a/b;->a(ILjava/util/Map;)Lcom/masala/share/proto/UserInfoStruct;
move-result-object v13
.line 57
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast p1, Lcom/masala/share/proto/user/RecUserInfo;
iget-object p1, p1, Lcom/masala/share/proto/user/RecUserInfo;->c:Ljava/lang/String;
iput-object p1, v13, Lcom/masala/share/proto/UserInfoStruct;->R:Ljava/lang/String;
.line 58
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast p1, Lcom/masala/share/proto/user/RecUserInfo;
iget p1, p1, Lcom/masala/share/proto/user/RecUserInfo;->b:I
iput p1, v13, Lcom/masala/share/proto/UserInfoStruct;->S:I
.line 60
new-instance p1, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileActivity$UserProfileBundle;
iget-byte v8, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->e:B
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast v1, Lcom/masala/share/proto/user/RecUserInfo;
iget-object v1, v1, Lcom/masala/share/proto/user/RecUserInfo;->a:Lcom/masala/share/uid/Uid;
invoke-virtual {v1}, Lcom/masala/share/uid/Uid;->b()I
move-result v9
const-wide/16 v10, 0x0
move-object v7, p1
invoke-direct/range {v7 .. v13}, Lcom/imo/android/imoim/feeds/ui/user/profile/UserProfileActivity$UserProfileBundle;-><init>(BIJILcom/masala/share/proto/UserInfoStruct;)V
.line 61
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->itemView:Landroid/view/View;
const-string v7, "itemView"
invoke-static {v1, v7}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v1
if-eqz v1, :cond_20c
check-cast v1, Landroid/app/Activity;
invoke-static {v1, p1}, 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 63
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->c:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;->a()Lcom/masala/share/stat/t;
move-result-object p1
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast v1, Lcom/masala/share/proto/user/RecUserInfo;
iget-object v1, v1, Lcom/masala/share/proto/user/RecUserInfo;->a:Lcom/masala/share/uid/Uid;
invoke-virtual {v1}, Lcom/masala/share/uid/Uid;->b()I
move-result v1
iget-object v7, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->c:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
.line 9046
iget-byte v7, v7, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;->g:B
.line 63
iget-object v8, p0, Lcom/imo/android/imoim/feeds/ui/recommend/brige/BaseRecommendUserViewHolder;->g:Ljava/lang/Object;
check-cast v8, Lcom/masala/share/proto/user/RecUserInfo;
iget v8, v8, Lcom/masala/share/proto/user/RecUserInfo;->b:I
.line 9200
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-virtual {p1, v6, v0}, Lcom/masala/share/stat/t;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object v0
check-cast v0, Lcom/masala/share/stat/t;
.line 9201
invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v5, v1}, Lcom/masala/share/stat/t;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object v0
check-cast v0, Lcom/masala/share/stat/t;
.line 9202
iget p1, p1, Lcom/masala/share/stat/t;->a:I
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, v4, p1}, Lcom/masala/share/stat/t;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object p1
check-cast p1, Lcom/masala/share/stat/t;
.line 9203
invoke-static {v7}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v3, v0}, Lcom/masala/share/stat/t;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object p1
check-cast p1, Lcom/masala/share/stat/t;
.line 9204
invoke-static {v8}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v2, v0}, Lcom/masala/share/stat/t;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object p1
check-cast p1, Lcom/masala/share/stat/t;
.line 9205
invoke-virtual {p1}, Lcom/masala/share/stat/t;->reportN()V
goto :goto_214
.line 61
:cond_20c
new-instance p1, Lkotlin/TypeCastException;
const-string v0, "null cannot be cast to non-null type android.app.Activity"
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw p1
:cond_214
:goto_214
return-void
nop
:pswitch_data_216
.packed-switch 0x1
:pswitch_16c
:pswitch_16a
:pswitch_16c
:pswitch_16c
:pswitch_16c
:pswitch_16c
.end packed-switch
.end method