ChooseCountryActivity$1.smali

.class final Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity$1;
.super Landroid/widget/BaseAdapter;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

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


# instance fields
.field final synthetic a:Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity;


# direct methods
.method constructor <init>(Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity;)V
    .registers 2

    .line 43
    iput-object p1, p0, Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity$1;->a:Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity;

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    return-void
.end method

.method private static a(I)Lsg/bigo/live/support64/activity/debug/a;
    .registers 2

    .line 51
    sget-object v0, Lsg/bigo/live/support64/activity/debug/a;->e:Ljava/util/List;

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

    move-result-object p0

    check-cast p0, Lsg/bigo/live/support64/activity/debug/a;

    return-object p0
.end method


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

    .line 46
    sget-object v0, Lsg/bigo/live/support64/activity/debug/a;->e:Ljava/util/List;

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

    move-result v0

    return v0
.end method

.method public final synthetic getItem(I)Ljava/lang/Object;
    .registers 2

    .line 43
    invoke-static {p1}, Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity$1;->a(I)Lsg/bigo/live/support64/activity/debug/a;

    move-result-object p1

    return-object p1
.end method

.method public final getItemId(I)J
    .registers 4

    int-to-long v0, p1

    return-wide v0
.end method

.method public final getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .registers 8

    const/4 v0, 0x0

    if-nez p2, :cond_e

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

    move-result-object p2

    const v1, 0x7d0a0013

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

    move-result-object p2

    .line 65
    :cond_e
    invoke-static {p1}, Lsg/bigo/live/support64/activity/debug/ChooseCountryActivity$1;->a(I)Lsg/bigo/live/support64/activity/debug/a;

    move-result-object p1

    const p3, 0x7d08031f

    .line 66
    invoke-virtual {p2, p3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p3

    check-cast p3, Landroid/widget/TextView;

    .line 67
    iget-object v1, p1, Lsg/bigo/live/support64/activity/debug/a;->b:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    const/4 v2, 0x1

    if-eqz v1, :cond_34

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

    .line 68
    iget-object p1, p1, Lsg/bigo/live/support64/activity/debug/a;->a:Ljava/lang/String;

    aput-object p1, v1, v0

    const-string p1, "%s(reset)"

    invoke-static {p1, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

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

    goto :goto_48

    :cond_34
    const/4 v1, 0x2

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

    .line 70
    iget-object v3, p1, Lsg/bigo/live/support64/activity/debug/a;->a:Ljava/lang/String;

    aput-object v3, v1, v0

    iget-object p1, p1, Lsg/bigo/live/support64/activity/debug/a;->b:Ljava/lang/String;

    aput-object p1, v1, v2

    const-string p1, "%s(%s)"

    invoke-static {p1, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

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

    :goto_48
    return-object p2
.end method