.class public Lcom/moji/mjweather/me/presenter/BindEmailPresenter;
.super Lcom/moji/mjweather/me/presenter/BaseAccountPresenter;
.source "BindEmailPresenter.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/mjweather/me/presenter/BaseAccountPresenter<",
        "Lcom/moji/mjweather/me/AccountApi;",
        "Lcom/moji/mjweather/me/view/IBindEmailView;",
        ">;"
    }
.end annotation


# instance fields
.field private a:Lcom/moji/account/data/UserInfoSQLiteManager;


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

    .line 23
    invoke-direct {p0, p1}, Lcom/moji/mjweather/me/presenter/BaseAccountPresenter;-><init>(Lcom/moji/mjweather/me/view/IBaseAccountInputView;)V

    .line 24
    invoke-virtual {p0}, Lcom/moji/mjweather/me/presenter/BindEmailPresenter;->n()Landroid/content/Context;

    move-result-object p1

    invoke-static {p1}, Lcom/moji/account/data/UserInfoSQLiteManager;->a(Landroid/content/Context;)Lcom/moji/account/data/UserInfoSQLiteManager;

    move-result-object p1

    iput-object p1, p0, Lcom/moji/mjweather/me/presenter/BindEmailPresenter;->a:Lcom/moji/account/data/UserInfoSQLiteManager;

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/me/presenter/BindEmailPresenter;)Lcom/moji/mvpframe/IMJMvpView;
    .locals 0

    .line 20
    iget-object p0, p0, Lcom/moji/mjweather/me/presenter/BindEmailPresenter;->f:Lcom/moji/mvpframe/IMJMvpView;

    return-object p0
.end method

.method static synthetic a(Lcom/moji/mjweather/me/presenter/BindEmailPresenter;Ljava/lang/String;)V
    .locals 0

    .line 20
    invoke-direct {p0, p1}, Lcom/moji/mjweather/me/presenter/BindEmailPresenter;->e(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic b(Lcom/moji/mjweather/me/presenter/BindEmailPresenter;)Lcom/moji/mvpframe/IMJMvpView;
    .locals 0

    .line 20
    iget-object p0, p0, Lcom/moji/mjweather/me/presenter/BindEmailPresenter;->f:Lcom/moji/mvpframe/IMJMvpView;

    return-object p0
.end method

.method static synthetic c(Lcom/moji/mjweather/me/presenter/BindEmailPresenter;)Lcom/moji/mvpframe/IMJMvpView;
    .locals 0

    .line 20
    iget-object p0, p0, Lcom/moji/mjweather/me/presenter/BindEmailPresenter;->f:Lcom/moji/mvpframe/IMJMvpView;

    return-object p0
.end method

.method private e(Ljava/lang/String;)V
    .locals 2

    .line 46
    new-instance v0, Lcom/moji/mjweather/me/presenter/BindEmailPresenter$2;

    sget-object v1, Lcom/moji/tool/thread/ThreadPriority;->NORMAL:Lcom/moji/tool/thread/ThreadPriority;

    invoke-direct {v0, p0, v1, p1}, Lcom/moji/mjweather/me/presenter/BindEmailPresenter$2;-><init>(Lcom/moji/mjweather/me/presenter/BindEmailPresenter;Lcom/moji/tool/thread/ThreadPriority;Ljava/lang/String;)V

    sget-object p1, Lcom/moji/tool/thread/ThreadType;->NORMAL_THREAD:Lcom/moji/tool/thread/ThreadType;

    const/4 v1, 0x0

    new-array v1, v1, [Ljava/lang/Void;

    .line 63
    invoke-virtual {v0, p1, v1}, Lcom/moji/mjweather/me/presenter/BindEmailPresenter$2;->a(Lcom/moji/tool/thread/ThreadType;[Ljava/lang/Object;)Lcom/moji/tool/thread/task/MJAsyncTask;

    return-void
.end method


# virtual methods
.method protected synthetic b()Ljava/lang/Object;
    .locals 1

    .line 20
    invoke-virtual {p0}, Lcom/moji/mjweather/me/presenter/BindEmailPresenter;->d()Lcom/moji/mjweather/me/AccountApi;

    move-result-object v0

    return-object v0
.end method

.method protected d()Lcom/moji/mjweather/me/AccountApi;
    .locals 1

    .line 29
    new-instance v0, Lcom/moji/mjweather/me/AccountApi;

    invoke-direct {v0}, Lcom/moji/mjweather/me/AccountApi;-><init>()V

    return-object v0
.end method

.method public d(Ljava/lang/String;)V
    .locals 3

    .line 33
    iget-object v0, p0, Lcom/moji/mjweather/me/presenter/BindEmailPresenter;->f:Lcom/moji/mvpframe/IMJMvpView;

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

    const v1, 0x7f0e029a

    invoke-virtual {p0, v1}, Lcom/moji/mjweather/me/presenter/BindEmailPresenter;->a(I)Ljava/lang/String;

    move-result-object v1

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

    .line 35
    iget-object v0, p0, Lcom/moji/mjweather/me/presenter/BindEmailPresenter;->e:Ljava/lang/Object;

    check-cast v0, Lcom/moji/mjweather/me/AccountApi;

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

    const/4 v2, 0x1

    invoke-direct {v1, p0, p0, v2, p1}, Lcom/moji/mjweather/me/presenter/BindEmailPresenter$1;-><init>(Lcom/moji/mjweather/me/presenter/BindEmailPresenter;Lcom/moji/mvpframe/BasePresenter;ZLjava/lang/String;)V

    invoke-virtual {v0, p1, v1}, Lcom/moji/mjweather/me/AccountApi;->a(Ljava/lang/String;Lcom/moji/requestcore/MJHttpCallback;)V

    return-void
.end method
