.class public Lcom/moji/mjweather/me/activity/ResetPassActivity;
.super Lcom/moji/mjweather/me/activity/BasePassEditActivity;
.source "ResetPassActivity.java"

# interfaces
.implements Lcom/moji/mjweather/me/view/IResetPassView;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/mjweather/me/activity/BasePassEditActivity<",
        "Lcom/moji/mjweather/me/presenter/ResetPassPresenter;",
        ">;",
        "Lcom/moji/mjweather/me/view/IResetPassView;"
    }
.end annotation


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 23
    invoke-direct {p0}, Lcom/moji/mjweather/me/activity/BasePassEditActivity;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/me/activity/ResetPassActivity;)Lcom/moji/mvpframe/BasePresenter;
    .locals 0

    .line 23
    invoke-virtual {p0}, Lcom/moji/mjweather/me/activity/ResetPassActivity;->m()Lcom/moji/mvpframe/BasePresenter;

    move-result-object p0

    return-object p0
.end method


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

    const v0, 0x7f0e0952

    .line 26
    invoke-virtual {p0, v0}, Lcom/moji/mjweather/me/activity/ResetPassActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public clearErrorView()V
    .locals 2

    .line 59
    iget-object v0, p0, Lcom/moji/mjweather/me/activity/ResetPassActivity;->l:Landroid/widget/TextView;

    const-string v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method protected synthetic d()Lcom/moji/mvpframe/BasePresenter;
    .locals 1

    .line 23
    invoke-virtual {p0}, Lcom/moji/mjweather/me/activity/ResetPassActivity;->e()Lcom/moji/mjweather/me/presenter/ResetPassPresenter;

    move-result-object v0

    return-object v0
.end method

.method protected e()Lcom/moji/mjweather/me/presenter/ResetPassPresenter;
    .locals 1

    .line 54
    new-instance v0, Lcom/moji/mjweather/me/presenter/ResetPassPresenter;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/me/presenter/ResetPassPresenter;-><init>(Lcom/moji/mjweather/me/view/IResetPassView;)V

    return-object v0
.end method

.method public onBackPressed()V
    .locals 2

    .line 93
    new-instance v0, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

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

    const v1, 0x7f0e066f

    .line 94
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const v1, 0x7f0e066e

    .line 95
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const v1, 0x7f0e0028

    .line 96
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const v1, 0x7f0e0145

    .line 97
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->e(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/mjweather/me/activity/ResetPassActivity$4;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/me/activity/ResetPassActivity$4;-><init>(Lcom/moji/mjweather/me/activity/ResetPassActivity;)V

    .line 98
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/mjweather/me/activity/ResetPassActivity$3;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/me/activity/ResetPassActivity$3;-><init>(Lcom/moji/mjweather/me/activity/ResetPassActivity;)V

    .line 105
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

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

    move-result-object v0

    const/4 v1, 0x0

    .line 112
    invoke-virtual {v0, v1}, Lcom/moji/dialog/MJDialog;->setCancelable(Z)V

    .line 113
    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->show()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 4

    .line 39
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result p1

    const v0, 0x7f0909af

    if-eq p1, v0, :cond_0

    goto :goto_0

    .line 42
    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/me/activity/ResetPassActivity;->j:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object p1

    .line 43
    invoke-virtual {p0}, Lcom/moji/mjweather/me/activity/ResetPassActivity;->m()Lcom/moji/mvpframe/BasePresenter;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/me/presenter/ResetPassPresenter;

    invoke-virtual {v0}, Lcom/moji/mjweather/me/presenter/ResetPassPresenter;->f()V

    .line 45
    invoke-virtual {p0}, Lcom/moji/mjweather/me/activity/ResetPassActivity;->m()Lcom/moji/mvpframe/BasePresenter;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/me/presenter/ResetPassPresenter;

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/me/presenter/ResetPassPresenter;->d(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 46
    invoke-virtual {p0}, Lcom/moji/mjweather/me/activity/ResetPassActivity;->m()Lcom/moji/mvpframe/BasePresenter;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/me/presenter/ResetPassPresenter;

    invoke-virtual {p0}, Lcom/moji/mjweather/me/activity/ResetPassActivity;->m()Lcom/moji/mvpframe/BasePresenter;

    move-result-object v1

    check-cast v1, Lcom/moji/mjweather/me/presenter/ResetPassPresenter;

    invoke-virtual {p0}, Lcom/moji/mjweather/me/activity/ResetPassActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/moji/mjweather/me/presenter/ResetPassPresenter;->a(Landroid/content/Intent;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0}, Lcom/moji/mjweather/me/activity/ResetPassActivity;->m()Lcom/moji/mvpframe/BasePresenter;

    move-result-object v2

    check-cast v2, Lcom/moji/mjweather/me/presenter/ResetPassPresenter;

    invoke-virtual {p0}, Lcom/moji/mjweather/me/activity/ResetPassActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/moji/mjweather/me/presenter/ResetPassPresenter;->b(Landroid/content/Intent;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2, p1}, Lcom/moji/mjweather/me/presenter/ResetPassPresenter;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :cond_1
    :goto_0
    return-void
.end method

.method public resetPassSuccess()V
    .locals 2

    .line 64
    new-instance v0, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

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

    const v1, 0x7f0e0671

    .line 65
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const v1, 0x7f0e0291

    .line 66
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const v1, 0x7f0e0024

    .line 67
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const-string v1, "\u5207\u6362\u8d26\u53f7"

    .line 68
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(Ljava/lang/CharSequence;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const/4 v1, 0x0

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

    move-result-object v0

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

    move-result-object v0

    new-instance v1, Lcom/moji/mjweather/me/activity/ResetPassActivity$2;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/me/activity/ResetPassActivity$2;-><init>(Lcom/moji/mjweather/me/activity/ResetPassActivity;)V

    .line 71
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/mjweather/me/activity/ResetPassActivity$1;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/me/activity/ResetPassActivity$1;-><init>(Lcom/moji/mjweather/me/activity/ResetPassActivity;)V

    .line 79
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    .line 87
    invoke-virtual {v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b()Lcom/moji/dialog/MJDialog;

    return-void
.end method

.method protected setUpView()V
    .locals 2

    .line 32
    invoke-super {p0}, Lcom/moji/mjweather/me/activity/BasePassEditActivity;->setUpView()V

    .line 33
    iget-object v0, p0, Lcom/moji/mjweather/me/activity/ResetPassActivity;->b:Landroid/widget/RelativeLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 34
    iget-object v0, p0, Lcom/moji/mjweather/me/activity/ResetPassActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    return-void
.end method
