.class Lcom/moji/dialog/control/MJDialogListControl$1;
.super Ljava/lang/Object;
.source "MJDialogListControl.java"

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/dialog/control/MJDialogListControl;->a(Lcom/moji/dialog/MJDialog;Landroid/view/View;)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/dialog/MJDialog;

.field final synthetic b:Lcom/moji/dialog/control/MJDialogListControl;


# direct methods
.method constructor <init>(Lcom/moji/dialog/control/MJDialogListControl;Lcom/moji/dialog/MJDialog;)V
    .locals 0

    .line 42
    iput-object p1, p0, Lcom/moji/dialog/control/MJDialogListControl$1;->b:Lcom/moji/dialog/control/MJDialogListControl;

    iput-object p2, p0, Lcom/moji/dialog/control/MJDialogListControl$1;->a:Lcom/moji/dialog/MJDialog;

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

    return-void
.end method


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

    .line 45
    iget-object p1, p0, Lcom/moji/dialog/control/MJDialogListControl$1;->b:Lcom/moji/dialog/control/MJDialogListControl;

    invoke-virtual {p1}, Lcom/moji/dialog/control/MJDialogListControl;->d()Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    check-cast p1, Lcom/moji/dialog/control/MJDialogListControl$Builder;

    iget-object p1, p1, Lcom/moji/dialog/control/MJDialogListControl$Builder;->t:Landroid/content/DialogInterface$OnClickListener;

    if-eqz p1, :cond_0

    .line 46
    iget-object p1, p0, Lcom/moji/dialog/control/MJDialogListControl$1;->b:Lcom/moji/dialog/control/MJDialogListControl;

    invoke-virtual {p1}, Lcom/moji/dialog/control/MJDialogListControl;->d()Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    check-cast p1, Lcom/moji/dialog/control/MJDialogListControl$Builder;

    iget-object p1, p1, Lcom/moji/dialog/control/MJDialogListControl$Builder;->t:Landroid/content/DialogInterface$OnClickListener;

    iget-object p2, p0, Lcom/moji/dialog/control/MJDialogListControl$1;->a:Lcom/moji/dialog/MJDialog;

    invoke-interface {p1, p2, p3}, Landroid/content/DialogInterface$OnClickListener;->onClick(Landroid/content/DialogInterface;I)V

    .line 47
    iget-object p1, p0, Lcom/moji/dialog/control/MJDialogListControl$1;->b:Lcom/moji/dialog/control/MJDialogListControl;

    invoke-virtual {p1}, Lcom/moji/dialog/control/MJDialogListControl;->d()Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    check-cast p1, Lcom/moji/dialog/control/MJDialogListControl$Builder;

    iget-boolean p1, p1, Lcom/moji/dialog/control/MJDialogListControl$Builder;->i:Z

    if-eqz p1, :cond_0

    .line 48
    iget-object p1, p0, Lcom/moji/dialog/control/MJDialogListControl$1;->a:Lcom/moji/dialog/MJDialog;

    invoke-virtual {p1}, Lcom/moji/dialog/MJDialog;->dismiss()V

    :cond_0
    return-void
.end method
