UserOperateMoreDialog$MoreAdapter.smali

.class public final Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;
.super Landroidx/recyclerview/widget/RecyclerView$Adapter;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog;
.end annotation

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

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroidx/recyclerview/widget/RecyclerView$Adapter<",
        "Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;",
        ">;"
    }
.end annotation


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


# instance fields
.field final synthetic b:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog;

.field private final c:Lkotlin/f;

.field private final d:Lkotlin/f;

.field private e:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Landroid/graphics/drawable/Drawable;",
            ">;"
        }
    .end annotation
.end field

.field private f:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field


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

    const-class v0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;

    const/4 v1, 0x2

    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, "userCardReportComponent"

    const-string v5, "getUserCardReportComponent()Lsg/bigo/live/support64/component/usercard/view/UserCardReportComponent;"

    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 v0

    const-string v3, "userKickOutDialog"

    const-string v4, "getUserKickOutDialog()Lsg/bigo/live/support64/component/usercard/UserKickOutDialog;"

    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, 0x1

    aput-object v0, v1, v2

    sput-object v1, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->a:[Lkotlin/k/g;

    return-void
.end method

.method public constructor <init>(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    .line 149
    iput-object p1, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->b:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog;

    invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;-><init>()V

    .line 151
    new-instance p1, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$b;

    invoke-direct {p1, p0}, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$b;-><init>(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;)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, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->c:Lkotlin/f;

    .line 155
    new-instance p1, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$c;

    invoke-direct {p1, p0}, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$c;-><init>(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;)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, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->d:Lkotlin/f;

    return-void
.end method

.method public constructor <init>(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog;Ljava/util/List;Ljava/util/List;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Landroid/graphics/drawable/Drawable;",
            ">;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 164
    invoke-direct {p0, p1}, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;-><init>(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog;)V

    .line 165
    iput-object p2, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->e:Ljava/util/List;

    .line 166
    iput-object p3, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->f:Ljava/util/List;

    return-void
.end method

.method public static final synthetic a(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;)Ljava/util/List;
    .registers 1

    .line 149
    iget-object p0, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->f:Ljava/util/List;

    return-object p0
.end method

.method public static final synthetic b(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;)Lsg/bigo/live/support64/component/usercard/b/h;
    .registers 1

    .line 4000
    iget-object p0, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->c:Lkotlin/f;

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

    move-result-object p0

    check-cast p0, Lsg/bigo/live/support64/component/usercard/b/h;

    return-object p0
.end method

.method public static final synthetic c(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;)Lsg/bigo/live/support64/component/usercard/UserKickOutDialog;
    .registers 1

    .line 5000
    iget-object p0, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->d:Lkotlin/f;

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

    move-result-object p0

    check-cast p0, Lsg/bigo/live/support64/component/usercard/UserKickOutDialog;

    return-object p0
.end method


# virtual methods
.method public final getItemCount()I
    .registers 2

    .line 181
    iget-object v0, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->f:Ljava/util/List;

    if-eqz v0, :cond_9

    .line 182
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0

    :cond_9
    const/4 v0, 0x0

    return v0
.end method

.method public final synthetic onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
    .registers 5

    .line 149
    check-cast p1, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;

    const-string v0, "holder"

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

    .line 1219
    iget-object v0, p1, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;->a:Landroid/widget/ImageView;

    iget-object v1, p1, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;->c:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;

    .line 2149
    iget-object v1, v1, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->e:Ljava/util/List;

    if-nez v1, :cond_12

    .line 1219
    invoke-static {}, Lkotlin/f/b/o;->a()V

    :cond_12
    invoke-interface {v1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 1220
    iget-object v0, p1, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;->b:Landroid/widget/TextView;

    iget-object v1, p1, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;->c:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;

    .line 3149
    iget-object v1, v1, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->f:Ljava/util/List;

    if-nez v1, :cond_26

    .line 1220
    invoke-static {}, Lkotlin/f/b/o;->a()V

    :cond_26
    invoke-interface {v1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Ljava/lang/CharSequence;

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

    .line 1189
    iget-object p2, p1, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;->itemView:Landroid/view/View;

    new-instance v0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$a;

    invoke-direct {v0, p0, p1}, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$a;-><init>(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;)V

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

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

    return-void
.end method

.method public final synthetic onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    .registers 5

    const-string p2, "parent"

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

    .line 1172
    invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object p2

    const v0, 0x7d0a0048

    const/4 v1, 0x0

    .line 1171
    invoke-static {p2, v0, p1, v1}, Lsg/bigo/mobile/android/aab/c/b;->a(Landroid/content/Context;ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    .line 1177
    new-instance p2, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;

    const-string v0, "view"

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

    invoke-direct {p2, p0, p1}, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;-><init>(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;Landroid/view/View;)V

    .line 149
    check-cast p2, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;

    return-object p2
.end method