.class public Lcom/moji/member/presenter/MemberOrderPresenter$MemberPayHandler;
.super Landroid/os/Handler;
.source "MemberOrderPresenter.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/member/presenter/MemberOrderPresenter;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "MemberPayHandler"
.end annotation


# instance fields
.field private a:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Lcom/moji/member/presenter/MemberOrderPresenter;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Ljava/lang/ref/WeakReference;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/ref/WeakReference<",
            "Lcom/moji/member/presenter/MemberOrderPresenter;",
            ">;)V"
        }
    .end annotation

    .line 376
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    .line 377
    iput-object p1, p0, Lcom/moji/member/presenter/MemberOrderPresenter$MemberPayHandler;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 1

    .line 382
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 383
    iget-object v0, p0, Lcom/moji/member/presenter/MemberOrderPresenter$MemberPayHandler;->a:Ljava/lang/ref/WeakReference;

    if-eqz v0, :cond_0

    .line 384
    iget-object v0, p0, Lcom/moji/member/presenter/MemberOrderPresenter$MemberPayHandler;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/moji/member/presenter/MemberOrderPresenter;

    if-eqz v0, :cond_0

    .line 386
    iget p1, p1, Landroid/os/Message;->what:I

    packed-switch p1, :pswitch_data_0

    goto :goto_0

    .line 393
    :pswitch_0
    invoke-static {v0}, Lcom/moji/member/presenter/MemberOrderPresenter;->l(Lcom/moji/member/presenter/MemberOrderPresenter;)Lcom/moji/dialog/MJDialog;

    move-result-object p1

    if-eqz p1, :cond_0

    invoke-static {v0}, Lcom/moji/member/presenter/MemberOrderPresenter;->l(Lcom/moji/member/presenter/MemberOrderPresenter;)Lcom/moji/dialog/MJDialog;

    move-result-object p1

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

    move-result p1

    if-eqz p1, :cond_0

    .line 394
    invoke-static {v0}, Lcom/moji/member/presenter/MemberOrderPresenter;->l(Lcom/moji/member/presenter/MemberOrderPresenter;)Lcom/moji/dialog/MJDialog;

    move-result-object p1

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

    goto :goto_0

    .line 388
    :pswitch_1
    invoke-static {v0}, Lcom/moji/member/presenter/MemberOrderPresenter;->k(Lcom/moji/member/presenter/MemberOrderPresenter;)Lcom/moji/dialog/MJDialog;

    move-result-object p1

    if-eqz p1, :cond_0

    invoke-static {v0}, Lcom/moji/member/presenter/MemberOrderPresenter;->k(Lcom/moji/member/presenter/MemberOrderPresenter;)Lcom/moji/dialog/MJDialog;

    move-result-object p1

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

    move-result p1

    if-eqz p1, :cond_0

    .line 389
    invoke-static {v0}, Lcom/moji/member/presenter/MemberOrderPresenter;->k(Lcom/moji/member/presenter/MemberOrderPresenter;)Lcom/moji/dialog/MJDialog;

    move-result-object p1

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

    :cond_0
    :goto_0
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
