.class public Lcom/moji/mjweather/me/SingleStatusLoadingImpl;
.super Ljava/lang/Object;
.source "SingleStatusLoadingImpl.java"

# interfaces
.implements Lcom/moji/mvpframe/delegate/IStatusLoad;


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

.field private b:Landroid/content/Context;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

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

    .line 23
    iput-object p1, p0, Lcom/moji/mjweather/me/SingleStatusLoadingImpl;->b:Landroid/content/Context;

    return-void
.end method


# virtual methods
.method public a()V
    .locals 1

    .line 40
    iget-object v0, p0, Lcom/moji/mjweather/me/SingleStatusLoadingImpl;->a:Lcom/moji/dialog/MJDialog;

    if-eqz v0, :cond_0

    .line 41
    iget-object v0, p0, Lcom/moji/mjweather/me/SingleStatusLoadingImpl;->a:Lcom/moji/dialog/MJDialog;

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

    :cond_0
    return-void
.end method

.method public a(I)V
    .locals 0
    .param p1    # I
        .annotation build Landroid/support/annotation/StringRes;
        .end annotation
    .end param

    return-void
.end method

.method public a(Lcom/moji/requestcore/MJException;)V
    .locals 0

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 2

    .line 28
    iget-object v0, p0, Lcom/moji/mjweather/me/SingleStatusLoadingImpl;->a:Lcom/moji/dialog/MJDialog;

    if-nez v0, :cond_0

    .line 29
    new-instance v0, Lcom/moji/dialog/control/MJDialogLoadingControl$Builder;

    iget-object v1, p0, Lcom/moji/mjweather/me/SingleStatusLoadingImpl;->b:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/moji/dialog/control/MJDialogLoadingControl$Builder;-><init>(Landroid/content/Context;)V

    .line 30
    invoke-virtual {v0, p1}, Lcom/moji/dialog/control/MJDialogLoadingControl$Builder;->e(Ljava/lang/CharSequence;)Lcom/moji/dialog/control/MJDialogLoadingControl$Builder;

    move-result-object p1

    const/4 v0, 0x1

    .line 31
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogLoadingControl$Builder;->c(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    const/4 v0, 0x0

    .line 32
    invoke-virtual {p1, v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object p1

    .line 33
    invoke-virtual {p1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a()Lcom/moji/dialog/MJDialog;

    move-result-object p1

    iput-object p1, p0, Lcom/moji/mjweather/me/SingleStatusLoadingImpl;->a:Lcom/moji/dialog/MJDialog;

    .line 35
    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/me/SingleStatusLoadingImpl;->a:Lcom/moji/dialog/MJDialog;

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

    return-void
.end method

.method public b(I)V
    .locals 0
    .param p1    # I
        .annotation build Landroid/support/annotation/StringRes;
        .end annotation
    .end param

    return-void
.end method

.method public b(Ljava/lang/String;)V
    .locals 0

    return-void
.end method

.method public b()Z
    .locals 1

    .line 47
    iget-object v0, p0, Lcom/moji/mjweather/me/SingleStatusLoadingImpl;->a:Lcom/moji/dialog/MJDialog;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    return v0

    .line 50
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/me/SingleStatusLoadingImpl;->a:Lcom/moji/dialog/MJDialog;

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

    move-result v0

    return v0
.end method

.method public c(Ljava/lang/String;)V
    .locals 0

    return-void
.end method
