ProfileAlbumComponent$2.smali

.class final Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent$2;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lcom/imo/android/imoim/adapters/SingleRecyclerAdapter$a;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;
.end annotation

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


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;)V
    .registers 2

    .line 121
    iput-object p1, p0, Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent$2;->a:Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;

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

    return-void
.end method

.method private synthetic a(Landroid/view/View;)V
    .registers 4

    .line 1038
    invoke-static {}, Lcom/imo/android/imoim/profile/a/d$a;->a()Lcom/imo/android/imoim/profile/a/d;

    move-result-object p1

    .line 127
    iget-object v0, p0, Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent$2;->a:Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;->a(Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;)Lcom/imo/android/imoim/adapters/AlbumListAdapter;

    move-result-object v0

    if-eqz v0, :cond_1a

    iget-object v0, p0, Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent$2;->a:Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;->a(Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;)Lcom/imo/android/imoim/adapters/AlbumListAdapter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/imo/android/imoim/adapters/AlbumListAdapter;->getItemCount()I

    move-result v0

    if-eqz v0, :cond_1a

    const/4 v0, 0x1

    goto :goto_1b

    :cond_1a
    const/4 v0, 0x0

    :goto_1b
    const-string v1, "add_album"

    invoke-virtual {p1, v1, v0}, Lcom/imo/android/imoim/profile/a/d;->a(Ljava/lang/String;Z)V

    .line 128
    iget-object p1, p0, Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent$2;->a:Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;

    .line 2034
    invoke-virtual {p1}, Lcom/imo/android/imoim/profile/component/BaseProfileComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    .line 128
    invoke-static {p1}, Lcom/imo/android/imoim/activities/SelectStoryActivity;->a(Landroid/content/Context;)V

    return-void
.end method

.method public static synthetic lambda$IFx8me6RE4IfLs0orTrOmSkmYwY(Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent$2;Landroid/view/View;)V
    .registers 2

    invoke-direct {p0, p1}, Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent$2;->a(Landroid/view/View;)V

    return-void
.end method


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

    .line 124
    iget-object v0, p0, Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent$2;->a:Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;

    const v1, 0x7f09006e

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

    move-result-object v1

    check-cast v1, Landroid/widget/RelativeLayout;

    invoke-static {v0, v1}, Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;->a(Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;Landroid/widget/RelativeLayout;)Landroid/widget/RelativeLayout;

    .line 125
    iget-object v0, p0, Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent$2;->a:Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;

    const v1, 0x7f090c84

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

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    invoke-static {v0, v1}, Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;->a(Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent;Landroid/widget/TextView;)Landroid/widget/TextView;

    .line 126
    new-instance v0, Lcom/imo/android/imoim/profile/component/-$$Lambda$ProfileAlbumComponent$2$IFx8me6RE4IfLs0orTrOmSkmYwY;

    invoke-direct {v0, p0}, Lcom/imo/android/imoim/profile/component/-$$Lambda$ProfileAlbumComponent$2$IFx8me6RE4IfLs0orTrOmSkmYwY;-><init>(Lcom/imo/android/imoim/profile/component/ProfileAlbumComponent$2;)V

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

    return-void
.end method