.class Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter$2;
.super Lcom/moji/requestcore/MJBaseHttpCallback;
.source "BaseMobileInputPresenter.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter;->e(Ljava/lang/String;)V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/requestcore/MJBaseHttpCallback<",
        "Lcom/moji/requestcore/entity/MJBaseRespRc;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter;)V
    .locals 0

    .line 62
    iput-object p1, p0, Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter$2;->a:Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter;

    invoke-direct {p0}, Lcom/moji/requestcore/MJBaseHttpCallback;-><init>()V

    return-void
.end method


# virtual methods
.method protected a(Lcom/moji/requestcore/entity/MJBaseRespRc;)V
    .locals 2

    .line 65
    invoke-virtual {p1}, Lcom/moji/requestcore/entity/MJBaseRespRc;->OK()Z

    move-result v0

    if-nez v0, :cond_0

    .line 66
    invoke-virtual {p1}, Lcom/moji/requestcore/entity/MJBaseRespRc;->getDesc()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/moji/tool/ToastTool;->a(Ljava/lang/String;)V

    .line 67
    iget-object p1, p0, Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter$2;->a:Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter;

    invoke-static {p1}, Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter;->e(Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter;)Lcom/moji/mvpframe/IMJMvpView;

    move-result-object p1

    check-cast p1, Lcom/moji/mjweather/me/view/ILoginBySnsCodeView;

    invoke-interface {p1}, Lcom/moji/mjweather/me/view/ILoginBySnsCodeView;->hideLoading()V

    return-void

    .line 70
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter$2;->a:Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter;

    invoke-static {v0}, Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter;->g(Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter;)Lcom/moji/mvpframe/IMJMvpView;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/me/view/ILoginBySnsCodeView;

    new-instance v1, Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter$2$1;

    invoke-direct {v1, p0, p1}, Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter$2$1;-><init>(Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter$2;Lcom/moji/requestcore/entity/MJBaseRespRc;)V

    invoke-interface {v0, v1}, Lcom/moji/mjweather/me/view/ILoginBySnsCodeView;->hideLoading(Lcom/moji/mvpframe/delegate/ILoadingCallback;)V

    return-void
.end method

.method protected onFailed(Lcom/moji/requestcore/MJException;)V
    .locals 0

    .line 80
    iget-object p1, p0, Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter$2;->a:Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter;

    invoke-static {p1}, Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter;->h(Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter;)Lcom/moji/mvpframe/IMJMvpView;

    move-result-object p1

    check-cast p1, Lcom/moji/mjweather/me/view/ILoginBySnsCodeView;

    invoke-interface {p1}, Lcom/moji/mjweather/me/view/ILoginBySnsCodeView;->hideLoading()V

    const p1, 0x7f0e0588

    .line 81
    invoke-static {p1}, Lcom/moji/tool/ToastTool;->a(I)V

    return-void
.end method

.method protected synthetic onSuccess(Ljava/lang/Object;)V
    .locals 0

    .line 62
    check-cast p1, Lcom/moji/requestcore/entity/MJBaseRespRc;

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/me/presenter/BaseMobileInputPresenter$2;->a(Lcom/moji/requestcore/entity/MJBaseRespRc;)V

    return-void
.end method
