UserOperateMoreDialog$MoreAdapter$a.smali

.class final Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/view/View$OnClickListener;


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

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = null
.end annotation


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

.field final synthetic b:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;


# direct methods
.method constructor <init>(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;)V
    .registers 3

    iput-object p1, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$a;->a:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;

    iput-object p2, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$a;->b:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .registers 8

    .line 190
    iget-object p1, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$a;->b:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;

    invoke-virtual {p1}, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$MoreHolder;->getAdapterPosition()I

    move-result p1

    const/4 v0, -0x1

    if-ne p1, v0, :cond_a

    return-void

    .line 194
    :cond_a
    iget-object v0, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$a;->a:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;

    invoke-static {v0}, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->a(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;)Ljava/util/List;

    move-result-object v0

    if-nez v0, :cond_15

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

    :cond_15
    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    const v0, 0x7d0c01e1

    const/4 v1, 0x0

    new-array v2, v1, [Ljava/lang/Object;

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

    move-result-object v0

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

    move-result v0

    if-eqz v0, :cond_3c

    .line 196
    iget-object p1, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$a;->a:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;

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

    invoke-virtual {p1}, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog;->dismiss()V

    .line 197
    iget-object p1, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$a;->a:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;

    invoke-static {p1}, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->b(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;)Lsg/bigo/live/support64/component/usercard/b/h;

    move-result-object p1

    invoke-virtual {p1}, Lsg/bigo/live/support64/component/usercard/b/h;->c()V

    return-void

    :cond_3c
    const v0, 0x7d0c01de

    new-array v2, v1, [Ljava/lang/Object;

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

    move-result-object v0

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

    move-result p1

    if-eqz p1, :cond_b1

    .line 200
    iget-object p1, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$a;->a:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;

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

    invoke-virtual {p1}, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog;->dismiss()V

    .line 202
    invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/b;->c()J

    move-result-wide v2

    const-wide/16 v4, 0x0

    cmp-long p1, v2, v4

    if-eqz p1, :cond_8a

    invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/b;->c()J

    move-result-wide v2

    iget-object p1, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$a;->a:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;

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

    invoke-static {p1}, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog;->a(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog;)Lsg/bigo/live/support64/component/usercard/model/UserCardViewModel;

    move-result-object p1

    .line 1020
    iget-object p1, p1, Lsg/bigo/live/support64/component/usercard/model/UserCardViewModel;->a:Lsg/bigo/live/support64/component/usercard/model/UserCardStruct;

    const-string v0, "userCardViewModel.userCardStruct"

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

    .line 1121
    iget-wide v4, p1, Lsg/bigo/live/support64/component/usercard/model/UserCardStruct;->a:J

    cmp-long p1, v2, v4

    if-nez p1, :cond_8a

    .line 202
    invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/b;->i()Z

    move-result p1

    if-eqz p1, :cond_8a

    const p1, 0x7d0c01da

    new-array v0, v1, [Ljava/lang/Object;

    .line 203
    invoke-static {p1, v0}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    .line 204
    check-cast p1, Ljava/lang/CharSequence;

    invoke-static {p1, v1}, Lsg/bigo/common/ae;->a(Ljava/lang/CharSequence;I)V

    return-void

    .line 206
    :cond_8a
    iget-object p1, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$a;->a:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;

    invoke-static {p1}, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->c(Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;)Lsg/bigo/live/support64/component/usercard/UserKickOutDialog;

    move-result-object p1

    iget-object v0, p0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter$a;->a:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;

    iget-object v0, v0, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog$MoreAdapter;->b:Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog;

    invoke-virtual {v0}, Lsg/bigo/live/support64/component/usercard/UserOperateMoreDialog;->getContext()Landroid/content/Context;

    move-result-object v0

    if-eqz v0, :cond_a9

    check-cast v0, Landroidx/fragment/app/FragmentActivity;

    invoke-virtual {v0}, Landroidx/fragment/app/FragmentActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;

    move-result-object v0

    const-string v1, "(context as FragmentActi\u2026y).supportFragmentManager"

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

    invoke-virtual {p1, v0}, Lsg/bigo/live/support64/component/usercard/UserKickOutDialog;->a(Landroidx/fragment/app/FragmentManager;)V

    goto :goto_b1

    :cond_a9
    new-instance p1, Lkotlin/TypeCastException;

    const-string v0, "null cannot be cast to non-null type androidx.fragment.app.FragmentActivity"

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

    throw p1

    :cond_b1
    :goto_b1
    return-void
.end method