SelectFollowUserDialog.smali

.class public Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;
.super Lsg/bigo/live/support64/component/pk/view/BaseBottomDialog;
.source "SourceFile"

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


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$a;,
        Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$SelectFollowUserAdapter;
    }
.end annotation


# instance fields
.field public d:Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$a;

.field public e:Z

.field public f:Lsg/bigo/live/support64/component/pk/view/f;

.field private g:Landroid/widget/TextView;

.field private h:Landroidx/recyclerview/widget/RecyclerView;

.field private i:Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;

.field private j:Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;

.field private k:Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$SelectFollowUserAdapter;

.field private l:J


# direct methods
.method public constructor <init>()V
    .registers 3

    .line 51
    invoke-direct {p0}, Lsg/bigo/live/support64/component/pk/view/BaseBottomDialog;-><init>()V

    const-wide/16 v0, 0x0

    .line 64
    iput-wide v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->l:J

    const/4 v0, 0x0

    .line 66
    iput-boolean v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->e:Z

    return-void
.end method

.method static synthetic a(Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;)Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$SelectFollowUserAdapter;
    .registers 1

    .line 51
    iget-object p0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->k:Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$SelectFollowUserAdapter;

    return-object p0
.end method

.method static synthetic a(Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;I)V
    .registers 3

    .line 2222
    iget-object v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->g:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(I)V

    .line 2223
    iget-object p0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->g:Landroid/widget/TextView;

    const/4 p1, 0x0

    invoke-virtual {p0, p1}, Landroid/widget/TextView;->setVisibility(I)V

    return-void
.end method

.method static synthetic a(Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;JJ)V
    .registers 6

    .line 2232
    iget-object v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->d:Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$a;

    if-eqz v0, :cond_7

    .line 2233
    invoke-interface {v0, p1, p2, p3, p4}, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$a;->onSelect(JJ)V

    .line 2235
    :cond_7
    invoke-virtual {p0}, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->dismiss()V

    return-void
.end method

.method static synthetic b(Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;)V
    .registers 3

    .line 1239
    iget-object v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->i:Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;->setRefreshing(Z)V

    .line 1240
    iget-object p0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->i:Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;

    invoke-virtual {p0, v1}, Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;->setLoadingMore(Z)V

    return-void
.end method

.method static synthetic c(Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;)V
    .registers 2

    .line 2228
    iget-object p0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->g:Landroid/widget/TextView;

    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Landroid/widget/TextView;->setVisibility(I)V

    return-void
.end method

.method static synthetic d(Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;)Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;
    .registers 1

    .line 51
    iget-object p0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->i:Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;

    return-object p0
.end method

.method static synthetic e(Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;)J
    .registers 3

    .line 51
    iget-wide v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->l:J

    return-wide v0
.end method

.method static synthetic f(Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;)Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;
    .registers 1

    .line 51
    iget-object p0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->j:Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;

    return-object p0
.end method


# virtual methods
.method protected final a()I
    .registers 2

    const v0, 0x7d0a001c

    return v0
.end method

.method protected final a(Landroid/app/Dialog;)V
    .registers 7

    .line 72
    invoke-virtual {p1}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/Window;->setDimAmount(F)V

    .line 73
    new-instance v0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$1;

    invoke-direct {v0, p0}, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$1;-><init>(Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;)V

    iput-object v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->f:Lsg/bigo/live/support64/component/pk/view/f;

    .line 151
    new-instance v1, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;

    invoke-direct {v1, v0}, Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;-><init>(Lsg/bigo/live/support64/component/pk/view/f;)V

    iput-object v1, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->j:Lsg/bigo/live/support64/component/pk/presenter/PkFollowUserPresenter;

    const v0, 0x7d080310

    .line 1162
    invoke-virtual {p1, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->g:Landroid/widget/TextView;

    const v0, 0x7d0800df

    .line 1170
    invoke-virtual {p1, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;

    iput-object v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->i:Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;

    const/4 v1, 0x0

    .line 1171
    invoke-virtual {v0, v1}, Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;->setLoadMoreEnable(Z)V

    .line 1172
    iget-object v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->i:Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;

    new-instance v2, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$2;

    invoke-direct {v2, p0}, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$2;-><init>(Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;)V

    invoke-virtual {v0, v2}, Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;->setRefreshListener(Lsg/bigo/live/support64/widget/refresh/e;)V

    const v0, 0x7d0802a5

    .line 1164
    invoke-virtual {p1, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

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

    iput-object v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->h:Landroidx/recyclerview/widget/RecyclerView;

    const v0, 0x7d0802a0

    .line 1190
    invoke-virtual {p1, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

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

    iput-object v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->h:Landroidx/recyclerview/widget/RecyclerView;

    .line 1191
    new-instance v2, Landroidx/recyclerview/widget/LinearLayoutManager;

    iget-object v3, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->a:Landroidx/fragment/app/FragmentActivity;

    const/4 v4, 0x1

    invoke-direct {v2, v3, v4, v1}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(Landroid/content/Context;IZ)V

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

    .line 1192
    new-instance v0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$SelectFollowUserAdapter;

    invoke-direct {v0, p0}, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$SelectFollowUserAdapter;-><init>(Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;)V

    iput-object v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->k:Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$SelectFollowUserAdapter;

    .line 1193
    iget-object v1, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->h:Landroidx/recyclerview/widget/RecyclerView;

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

    .line 1194
    iget-object v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->i:Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;

    invoke-virtual {v0, v4}, Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;->setRefreshing(Z)V

    const v0, 0x7d080125

    .line 1166
    invoke-virtual {p1, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

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

    return-void
.end method

.method public final a(Landroidx/fragment/app/FragmentManager;)V
    .registers 4

    const-string v0, "SelectFollowUser"

    .line 203
    invoke-virtual {p0, p1, v0}, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V

    .line 204
    iget-object p1, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->i:Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;

    if-eqz p1, :cond_21

    iget-object p1, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->k:Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$SelectFollowUserAdapter;

    if-eqz p1, :cond_13

    invoke-virtual {p1}, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$SelectFollowUserAdapter;->getItemCount()I

    move-result p1

    if-lez p1, :cond_1b

    :cond_13
    iget-object p1, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->k:Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog$SelectFollowUserAdapter;

    if-eqz p1, :cond_21

    iget-boolean p1, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->e:Z

    if-eqz p1, :cond_21

    .line 206
    :cond_1b
    iget-object p1, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->i:Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Lsg/bigo/live/support64/widget/refresh/MaterialRefreshLayout;->setRefreshing(Z)V

    .line 208
    :cond_21
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v0

    iput-wide v0, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->l:J

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .registers 3

    .line 245
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result p1

    const v0, 0x7d080125

    if-eq p1, v0, :cond_a

    goto :goto_f

    .line 247
    :cond_a
    iget-object p1, p0, Lsg/bigo/live/support64/component/pk/view/SelectFollowUserDialog;->b:Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->onBackPressed()V

    :goto_f
    return-void
.end method