CommentPanelView.smali

.class public final Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;
.super Landroidx/constraintlayout/widget/ConstraintLayout;
.source "SourceFile"


# static fields
.field static final synthetic a:[Lkotlin/k/g;


# instance fields
.field public final b:Ljava/lang/String;

.field public final c:Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$a;

.field private final d:Lkotlin/f;

.field private final e:Lkotlin/f;

.field private final f:Lkotlin/f;

.field private final g:Lkotlin/f;

.field private h:Lcom/imo/android/imoim/feeds/ui/detail/widgets/b;

.field private i:I

.field private j:Ljava/util/HashMap;


# direct methods
.method static constructor <clinit>()V
    .registers 6

    const-class v0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;

    const/4 v1, 0x4

    new-array v1, v1, [Lkotlin/k/g;

    new-instance v2, Lkotlin/f/b/z;

    invoke-static {v0}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;

    move-result-object v3

    const-string v4, "activity"

    const-string v5, "getActivity()Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;"

    invoke-direct {v2, v3, v4, v5}, Lkotlin/f/b/z;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {v2}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/y;)Lkotlin/k/j;

    move-result-object v2

    check-cast v2, Lkotlin/k/g;

    const/4 v3, 0x0

    aput-object v2, v1, v3

    new-instance v2, Lkotlin/f/b/z;

    invoke-static {v0}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;

    move-result-object v3

    const-string v4, "caseManager"

    const-string v5, "getCaseManager()Lcom/masala/share/utils/casemanager/base/CaseManager;"

    invoke-direct {v2, v3, v4, v5}, Lkotlin/f/b/z;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {v2}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/y;)Lkotlin/k/j;

    move-result-object v2

    check-cast v2, Lkotlin/k/g;

    const/4 v3, 0x1

    aput-object v2, v1, v3

    new-instance v2, Lkotlin/f/b/z;

    invoke-static {v0}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;

    move-result-object v3

    const-string v4, "mRefreshLayout"

    const-string v5, "getMRefreshLayout()Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;"

    invoke-direct {v2, v3, v4, v5}, Lkotlin/f/b/z;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {v2}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/y;)Lkotlin/k/j;

    move-result-object v2

    check-cast v2, Lkotlin/k/g;

    const/4 v3, 0x2

    aput-object v2, v1, v3

    new-instance v2, Lkotlin/f/b/z;

    invoke-static {v0}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;

    move-result-object v0

    const-string v3, "adapter"

    const-string v4, "getAdapter()Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;"

    invoke-direct {v2, v0, v3, v4}, Lkotlin/f/b/z;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {v2}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/y;)Lkotlin/k/j;

    move-result-object v0

    check-cast v0, Lkotlin/k/g;

    const/4 v2, 0x3

    aput-object v0, v1, v2

    sput-object v1, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->a:[Lkotlin/k/g;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .registers 8

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x6

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    invoke-direct/range {v0 .. v5}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/f/b/j;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .registers 9

    const/4 v3, 0x0

    const/4 v4, 0x4

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    invoke-direct/range {v0 .. v5}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/f/b/j;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .registers 5

    const-string v0, "context"

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

    .line 37
    invoke-direct {p0, p1, p2, p3}, Landroidx/constraintlayout/widget/ConstraintLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    const-string p2, "CommentPanelView"

    .line 39
    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->b:Ljava/lang/String;

    .line 41
    new-instance p2, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView$a;

    invoke-direct {p2, p1}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView$a;-><init>(Landroid/content/Context;)V

    check-cast p2, Lkotlin/f/a/a;

    invoke-static {p2}, Lkotlin/g;->a(Lkotlin/f/a/a;)Lkotlin/f;

    move-result-object p2

    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->d:Lkotlin/f;

    .line 45
    new-instance p2, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView$c;

    invoke-direct {p2, p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView$c;-><init>(Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;)V

    check-cast p2, Lkotlin/f/a/a;

    invoke-static {p2}, Lkotlin/g;->a(Lkotlin/f/a/a;)Lkotlin/f;

    move-result-object p2

    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->e:Lkotlin/f;

    .line 52
    new-instance p2, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView$d;

    invoke-direct {p2, p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView$d;-><init>(Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;)V

    check-cast p2, Lkotlin/f/a/a;

    invoke-static {p2}, Lkotlin/g;->a(Lkotlin/f/a/a;)Lkotlin/f;

    move-result-object p2

    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->f:Lkotlin/f;

    .line 56
    new-instance p2, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView$b;

    invoke-direct {p2, p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView$b;-><init>(Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;)V

    check-cast p2, Lkotlin/f/a/a;

    invoke-static {p2}, Lkotlin/g;->a(Lkotlin/f/a/a;)Lkotlin/f;

    move-result-object p2

    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->g:Lkotlin/f;

    .line 63
    new-instance p2, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$a;

    invoke-direct {p2}, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$a;-><init>()V

    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->c:Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$a;

    .line 73
    invoke-static {p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p1

    move-object p2, p0

    check-cast p2, Landroid/view/ViewGroup;

    const p3, 0x7e090050

    invoke-virtual {p1, p3, p2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    const p1, 0x7e070009

    .line 1078
    invoke-static {p1}, Lsg/bigo/mobile/android/aab/c/b;->a(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->setBackground(Landroid/graphics/drawable/Drawable;)V

    .line 1081
    sget p1, Lcom/masala/share/b$a;->comment_show:I

    invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->a(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroidx/recyclerview/widget/RecyclerView;

    const-string p2, "comment_show"

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

    new-instance p3, Landroidx/recyclerview/widget/LinearLayoutManager;

    invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {p3, v0}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(Landroid/content/Context;)V

    check-cast p3, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;

    invoke-virtual {p1, p3}, Landroidx/recyclerview/widget/RecyclerView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V

    .line 1082
    sget p1, Lcom/masala/share/b$a;->comment_show:I

    invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->a(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroidx/recyclerview/widget/RecyclerView;

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

    invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->getAdapter()Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;

    move-result-object p2

    check-cast p2, Landroidx/recyclerview/widget/RecyclerView$Adapter;

    invoke-virtual {p1, p2}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    .line 1085
    sget p1, Lcom/masala/share/b$a;->comment_down:I

    invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->a(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ImageView;

    new-instance p2, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView$e;

    invoke-direct {p2, p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView$e;-><init>(Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;)V

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

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

    .line 1090
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->getMRefreshLayout()Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;

    move-result-object p1

    const/4 p2, 0x1

    invoke-virtual {p1, p2}, Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;->setLoadMore(Z)V

    .line 1091
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->getMRefreshLayout()Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;

    move-result-object p1

    const/4 p2, 0x0

    invoke-virtual {p1, p2}, Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;->setLoadMoreRepeatMode(Z)V

    .line 1092
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->getMRefreshLayout()Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;

    move-result-object p1

    invoke-virtual {p1, p2}, Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;->setRefreshEnable(Z)V

    .line 1094
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->getMRefreshLayout()Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;

    move-result-object p1

    const-string p2, "mRefreshLayout"

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

    invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p1

    if-eqz p1, :cond_d8

    check-cast p1, Landroid/view/ViewGroup$MarginLayoutParams;

    const p2, 0x7e060006

    invoke-static {p2}, Lcom/imo/android/imoim/feeds/ui/utils/b;->a(I)F

    move-result p2

    invoke-static {}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/emoticon/b;->f()I

    move-result p3

    int-to-float p3, p3

    add-float/2addr p2, p3

    float-to-int p2, p2

    iput p2, p1, Landroid/view/ViewGroup$MarginLayoutParams;->bottomMargin:I

    return-void

    :cond_d8
    new-instance p1, Lkotlin/TypeCastException;

    const-string p2, "null cannot be cast to non-null type android.view.ViewGroup.MarginLayoutParams"

    invoke-direct {p1, p2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method public synthetic constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/f/b/j;)V
    .registers 6

    and-int/lit8 p5, p4, 0x2

    if-eqz p5, :cond_5

    const/4 p2, 0x0

    :cond_5
    and-int/lit8 p4, p4, 0x4

    if-eqz p4, :cond_a

    const/4 p3, 0x0

    .line 36
    :cond_a
    invoke-direct {p0, p1, p2, p3}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method public static final synthetic a(Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;)Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;
    .registers 1

    .line 35
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->getMRefreshLayout()Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;

    move-result-object p0

    return-object p0
.end method

.method private final getActivity()Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/imo/android/imoim/feeds/ui/AppBaseActivity<",
            "+",
            "Lsg/bigo/core/mvp/presenter/a;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->d:Lkotlin/f;

    invoke-interface {v0}, Lkotlin/f;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/imo/android/imoim/feeds/ui/AppBaseActivity;

    return-object v0
.end method

.method private final getMRefreshLayout()Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;
    .registers 2

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->f:Lkotlin/f;

    invoke-interface {v0}, Lkotlin/f;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;

    return-object v0
.end method


# virtual methods
.method public final a(I)Landroid/view/View;
    .registers 4

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->j:Ljava/util/HashMap;

    if-nez v0, :cond_b

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->j:Ljava/util/HashMap;

    :cond_b
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->j:Ljava/util/HashMap;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/View;

    if-nez v0, :cond_26

    invoke-virtual {p0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->j:Ljava/util/HashMap;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-virtual {v1, p1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_26
    return-object v0
.end method

.method public final a()V
    .registers 4

    .line 108
    new-instance v0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView$f;

    invoke-direct {v0, p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView$f;-><init>(Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;)V

    check-cast v0, Ljava/lang/Runnable;

    const-wide/16 v1, 0x0

    invoke-static {v0, v1, v2}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;J)V

    return-void
.end method

.method public final b()V
    .registers 3

    .line 117
    invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->c()V

    .line 118
    invoke-virtual {p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->getCaseManager()Lcom/masala/share/utils/a/a/b;

    move-result-object v0

    const/4 v1, -0x1

    .line 1051
    invoke-virtual {v0, v1}, Lcom/masala/share/utils/a/a/b;->a(I)V

    return-void
.end method

.method public final c()V
    .registers 2

    .line 125
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->getMRefreshLayout()Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;

    move-result-object v0

    invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;->e()V

    .line 126
    invoke-direct {p0}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->getMRefreshLayout()Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;

    move-result-object v0

    invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;->f()V

    return-void
.end method

.method public final getAdapter()Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter<",
            "Lcom/imo/android/imoim/feeds/ui/vhadapter/VHolder<",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->g:Lkotlin/f;

    invoke-interface {v0}, Lkotlin/f;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;

    return-object v0
.end method

.method public final getCaseManager()Lcom/masala/share/utils/a/a/b;
    .registers 2

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->e:Lkotlin/f;

    invoke-interface {v0}, Lkotlin/f;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/masala/share/utils/a/a/b;

    return-object v0
.end method

.method public final getCommentTotalNum()I
    .registers 2

    .line 68
    iget v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->i:I

    return v0
.end method

.method public final getMCommentDownListener()Lcom/imo/android/imoim/feeds/ui/detail/widgets/b;
    .registers 2

    .line 65
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->h:Lcom/imo/android/imoim/feeds/ui/detail/widgets/b;

    return-object v0
.end method

.method public final setCommentCount(I)V
    .registers 7

    .line 200
    iget v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->i:I

    if-ne p1, v0, :cond_7

    if-eqz v0, :cond_7

    return-void

    .line 203
    :cond_7
    sget-object v0, Ljava/math/RoundingMode;->HALF_UP:Ljava/math/RoundingMode;

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

    move-result-object v0

    const/4 v1, 0x0

    const-string v2, "comment_num"

    const/4 v3, 0x1

    if-gt p1, v3, :cond_2f

    .line 205
    sget v4, Lcom/masala/share/b$a;->comment_num:I

    invoke-virtual {p0, v4}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->a(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

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

    const v2, 0x7e0b0011

    new-array v3, v3, [Ljava/lang/Object;

    aput-object v0, v3, v1

    invoke-static {v2, v3}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

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

    goto :goto_4a

    .line 207
    :cond_2f
    sget v4, Lcom/masala/share/b$a;->comment_num:I

    invoke-virtual {p0, v4}, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->a(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

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

    const v2, 0x7e0b0010

    new-array v3, v3, [Ljava/lang/Object;

    aput-object v0, v3, v1

    invoke-static {v2, v3}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

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

    .line 209
    :goto_4a
    iput p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->i:I

    return-void
.end method

.method public final setMCommentDownListener(Lcom/imo/android/imoim/feeds/ui/detail/widgets/b;)V
    .registers 2

    .line 65
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/widgets/CommentPanelView;->h:Lcom/imo/android/imoim/feeds/ui/detail/widgets/b;

    return-void
.end method