.class Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter$2$1;
.super Ljava/lang/Object;
.source "InputSnsCodePresenter.java"

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter$2;->a(Lcom/moji/http/ugc/bean/account/ValidateResultEntity;)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/http/ugc/bean/account/ValidateResultEntity;

.field final synthetic b:Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter$2;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter$2;Lcom/moji/http/ugc/bean/account/ValidateResultEntity;)V
    .locals 0

    .line 92
    iput-object p1, p0, Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter$2$1;->b:Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter$2;

    iput-object p2, p0, Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter$2$1;->a:Lcom/moji/http/ugc/bean/account/ValidateResultEntity;

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

    return-void
.end method


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

    .line 95
    iget-object v0, p0, Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter$2$1;->a:Lcom/moji/http/ugc/bean/account/ValidateResultEntity;

    iget-boolean v0, v0, Lcom/moji/http/ugc/bean/account/ValidateResultEntity;->is_available:Z

    if-eqz v0, :cond_0

    .line 96
    iget-object v0, p0, Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter$2$1;->b:Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter$2;

    iget-object v0, v0, Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter$2;->a:Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter;

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

    move-result-object v0

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

    invoke-interface {v0}, Lcom/moji/mjweather/me/view/IInputSnsCodeView;->validateMobileSuccess()V

    goto :goto_0

    .line 98
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter$2$1;->b:Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter$2;

    iget-object v0, v0, Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter$2;->a:Lcom/moji/mjweather/me/presenter/InputSnsCodePresenter;

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

    move-result-object v0

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

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Lcom/moji/mjweather/me/view/IInputSnsCodeView;->validateMobileFail(Ljava/lang/String;)V

    :goto_0
    return-void
.end method
