PersonalBoothVHBridge$PersonalBoothVHolder.smali

.class public final Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;
.super Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x11
    name = "PersonalBoothVHolder"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder<",
        "Lcom/imo/android/imoim/feeds/ui/home/recuser/b;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/TextView;

.field private j:Lcom/imo/android/imoim/feeds/ui/views/SimpleDraweeCompatView;

.field private k:Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothFollowButton;


# direct methods
.method public constructor <init>(Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge;Landroid/view/View;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/view/View;",
            ")V"
        }
    .end annotation

    const-string v0, "itemView"

    invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 36
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->a:Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge;

    invoke-direct {p0, p2}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder;-><init>(Landroid/view/View;)V

    const p1, 0x7e0801bd

    .line 37
    invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->a(I)Landroid/view/View;

    move-result-object p1

    const-string p2, "findViewById(R.id.tv_title)"

    invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->b:Landroid/widget/TextView;

    const p1, 0x7e0801c3

    .line 38
    invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->a(I)Landroid/view/View;

    move-result-object p1

    const-string p2, "findViewById(R.id.tv_user_name)"

    invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->c:Landroid/widget/TextView;

    const p1, 0x7e080186

    .line 39
    invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->a(I)Landroid/view/View;

    move-result-object p1

    const-string p2, "findViewById(R.id.tv_fan_count)"

    invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->d:Landroid/widget/TextView;

    const p1, 0x7e0801c4

    .line 40
    invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->a(I)Landroid/view/View;

    move-result-object p1

    const-string p2, "findViewById(R.id.tv_video_count)"

    invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->e:Landroid/widget/TextView;

    const p1, 0x7e08013f

    .line 41
    invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->a(I)Landroid/view/View;

    move-result-object p1

    const-string p2, "findViewById(R.id.sdcv_avatar)"

    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/views/SimpleDraweeCompatView;

    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->j:Lcom/imo/android/imoim/feeds/ui/views/SimpleDraweeCompatView;

    const p1, 0x7e080013

    .line 42
    invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->a(I)Landroid/view/View;

    move-result-object p1

    const-string p2, "findViewById(R.id.bt_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/home/recuser/PersonalBoothFollowButton;

    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->k:Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothFollowButton;

    return-void
.end method

.method public static final synthetic a(Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;)Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothFollowButton;
    .registers 1

    .line 36
    iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->k:Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothFollowButton;

    return-object p0
.end method


# virtual methods
.method public final synthetic a(ILjava/lang/Object;)V
    .registers 7

    .line 36
    check-cast p2, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;

    .line 1045
    invoke-super {p0, p1, p2}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder;->a(ILjava/lang/Object;)V

    const/4 v0, 0x2

    new-array v0, v0, [I

    .line 1046
    fill-array-data v0, :array_a0

    sget-object v1, Landroid/graphics/drawable/GradientDrawable$Orientation;->TOP_BOTTOM:Landroid/graphics/drawable/GradientDrawable$Orientation;

    invoke-static {v0, v1}, Lcom/masala/share/utils/w;->a([ILandroid/graphics/drawable/GradientDrawable$Orientation;)Lcom/masala/share/utils/w$a;

    move-result-object v0

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->itemView:Landroid/view/View;

    invoke-virtual {v0, v1}, Lcom/masala/share/utils/w$a;->a(Landroid/view/View;)V

    if-eqz p2, :cond_9e

    .line 1047
    invoke-virtual {p2}, Lcom/imo/android/imoim/feeds/ui/home/recuser/b;->e()Lcom/masala/share/proto/user/RecUserInfo;

    move-result-object v0

    if-nez v0, :cond_20

    goto/16 :goto_9e

    .line 1048
    :cond_20
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->b:Landroid/widget/TextView;

    iget-object v2, v0, Lcom/masala/share/proto/user/RecUserInfo;->c:Ljava/lang/String;

    check-cast v2, Ljava/lang/CharSequence;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1049
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->c:Landroid/widget/TextView;

    invoke-virtual {v0}, Lcom/masala/share/proto/user/RecUserInfo;->c()Ljava/lang/String;

    move-result-object v2

    check-cast v2, Ljava/lang/CharSequence;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1050
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->d:Landroid/widget/TextView;

    invoke-virtual {v0}, Lcom/masala/share/proto/user/RecUserInfo;->d()I

    move-result v2

    sget-object v3, Ljava/math/RoundingMode;->HALF_UP:Ljava/math/RoundingMode;

    invoke-static {v2, v3}, Lcom/masala/share/utils/k;->a(ILjava/math/RoundingMode;)Ljava/lang/String;

    move-result-object v2

    check-cast v2, Ljava/lang/CharSequence;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1051
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->e:Landroid/widget/TextView;

    invoke-virtual {v0}, Lcom/masala/share/proto/user/RecUserInfo;->e()I

    move-result v2

    sget-object v3, Ljava/math/RoundingMode;->HALF_UP:Ljava/math/RoundingMode;

    invoke-static {v2, v3}, Lcom/masala/share/utils/k;->a(ILjava/math/RoundingMode;)Ljava/lang/String;

    move-result-object v2

    check-cast v2, Ljava/lang/CharSequence;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1052
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->j:Lcom/imo/android/imoim/feeds/ui/views/SimpleDraweeCompatView;

    invoke-virtual {v0}, Lcom/masala/share/proto/user/RecUserInfo;->b()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/imo/android/imoim/feeds/ui/views/SimpleDraweeCompatView;->setUri(Landroid/net/Uri;)V

    .line 1054
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->k:Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothFollowButton;

    iget v2, v0, Lcom/masala/share/proto/user/RecUserInfo;->d:I

    int-to-byte v2, v2

    invoke-virtual {v1, v2}, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothFollowButton;->setRelation(B)V

    .line 1055
    invoke-virtual {v0}, Lcom/masala/share/proto/user/RecUserInfo;->h()Z

    move-result v1

    if-nez v1, :cond_86

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->k:Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothFollowButton;

    invoke-virtual {v1}, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothFollowButton;->d()Z

    move-result v1

    if-eqz v1, :cond_86

    .line 1056
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->k:Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothFollowButton;

    new-instance v2, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder$a;

    invoke-direct {v2, p0, p2, v0, p1}, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder$a;-><init>(Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;Lcom/imo/android/imoim/feeds/ui/home/recuser/b;Lcom/masala/share/proto/user/RecUserInfo;I)V

    check-cast v2, Landroid/view/View$OnClickListener;

    invoke-virtual {v1, v2}, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothFollowButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_92

    .line 1085
    :cond_86
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->k:Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothFollowButton;

    new-instance v1, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder$b;

    invoke-direct {v1, p0, p2, v0}, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder$b;-><init>(Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;Lcom/imo/android/imoim/feeds/ui/home/recuser/b;Lcom/masala/share/proto/user/RecUserInfo;)V

    check-cast v1, Landroid/view/View$OnClickListener;

    invoke-virtual {p1, v1}, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothFollowButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1099
    :goto_92
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;->itemView:Landroid/view/View;

    new-instance v1, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder$c;

    invoke-direct {v1, p0, p2, v0}, Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder$c;-><init>(Lcom/imo/android/imoim/feeds/ui/home/recuser/PersonalBoothVHBridge$PersonalBoothVHolder;Lcom/imo/android/imoim/feeds/ui/home/recuser/b;Lcom/masala/share/proto/user/RecUserInfo;)V

    check-cast v1, Landroid/view/View$OnClickListener;

    invoke-virtual {p1, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_9e
    :goto_9e
    return-void

    nop

    :array_a0
    .array-data 4
        0x7e050010
        0x7e05000d
    .end array-data
.end method