CountryPicker$3.smali

.class final Lcom/imo/android/imoim/countrypicker/CountryPicker$3;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/countrypicker/CountryPicker;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
.end annotation

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


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/countrypicker/CountryPicker;


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

    .line 178
    iput-object p1, p0, Lcom/imo/android/imoim/countrypicker/CountryPicker$3;->a:Lcom/imo/android/imoim/countrypicker/CountryPicker;

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

    return-void
.end method


# virtual methods
.method public final onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView<",
            "*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .line 183
    iget-object p2, p0, Lcom/imo/android/imoim/countrypicker/CountryPicker$3;->a:Lcom/imo/android/imoim/countrypicker/CountryPicker;

    invoke-static {p2}, Lcom/imo/android/imoim/countrypicker/CountryPicker;->b(Lcom/imo/android/imoim/countrypicker/CountryPicker;)Lcom/imo/android/imoim/countrypicker/d;

    move-result-object p2

    if-eqz p2, :cond_2d

    .line 184
    invoke-virtual {p1}, Landroid/widget/AdapterView;->getContext()Landroid/content/Context;

    move-result-object p2

    .line 185
    invoke-virtual {p1}, Landroid/widget/AdapterView;->getWindowToken()Landroid/os/IBinder;

    move-result-object p1

    .line 184
    invoke-static {p2, p1}, Lcom/imo/android/imoim/util/ei;->a(Landroid/content/Context;Landroid/os/IBinder;)V

    .line 186
    iget-object p1, p0, Lcom/imo/android/imoim/countrypicker/CountryPicker$3;->a:Lcom/imo/android/imoim/countrypicker/CountryPicker;

    invoke-static {p1}, Lcom/imo/android/imoim/countrypicker/CountryPicker;->c(Lcom/imo/android/imoim/countrypicker/CountryPicker;)Ljava/util/List;

    move-result-object p1

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

    move-result-object p1

    check-cast p1, Lcom/imo/android/imoim/countrypicker/a;

    .line 187
    iget-object p2, p0, Lcom/imo/android/imoim/countrypicker/CountryPicker$3;->a:Lcom/imo/android/imoim/countrypicker/CountryPicker;

    invoke-static {p2}, Lcom/imo/android/imoim/countrypicker/CountryPicker;->b(Lcom/imo/android/imoim/countrypicker/CountryPicker;)Lcom/imo/android/imoim/countrypicker/d;

    move-result-object p2

    invoke-interface {p2, p1}, Lcom/imo/android/imoim/countrypicker/d;->a(Lcom/imo/android/imoim/countrypicker/a;)V

    .line 188
    iget-object p1, p0, Lcom/imo/android/imoim/countrypicker/CountryPicker$3;->a:Lcom/imo/android/imoim/countrypicker/CountryPicker;

    invoke-static {p1}, Lcom/imo/android/imoim/countrypicker/CountryPicker;->d(Lcom/imo/android/imoim/countrypicker/CountryPicker;)Lcom/imo/android/imoim/countrypicker/d;

    :cond_2d
    return-void
.end method