142 lines
3.3 KiB
Smali
142 lines
3.3 KiB
Smali
.class public Lcom/moji/mjweather/me/presenter/BasePassEditPresenter;
|
|
.super Lcom/moji/mjweather/me/presenter/BaseAccountPresenter;
|
|
.source "BasePassEditPresenter.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<V::",
|
|
"Lcom/moji/mjweather/me/view/IEditPassView;",
|
|
">",
|
|
"Lcom/moji/mjweather/me/presenter/BaseAccountPresenter<",
|
|
"Lcom/moji/mjweather/me/AccountApi;",
|
|
"TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/moji/mjweather/me/view/IEditPassView;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TV;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 16
|
|
invoke-direct {p0, p1}, Lcom/moji/mjweather/me/presenter/BaseAccountPresenter;-><init>(Lcom/moji/mjweather/me/view/IBaseAccountInputView;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected synthetic b()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 14
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/me/presenter/BasePassEditPresenter;->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 21
|
|
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;)Z
|
|
.locals 4
|
|
|
|
.line 30
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 31
|
|
iget-object p1, p0, Lcom/moji/mjweather/me/presenter/BasePassEditPresenter;->f:Lcom/moji/mvpframe/IMJMvpView;
|
|
|
|
check-cast p1, Lcom/moji/mjweather/me/view/IEditPassView;
|
|
|
|
const v0, 0x7f0e0597
|
|
|
|
invoke-virtual {p0, v0}, Lcom/moji/mjweather/me/presenter/BasePassEditPresenter;->a(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p1, v0, v2}, Lcom/moji/mjweather/me/view/IEditPassView;->onErrorShow(Ljava/lang/String;I)V
|
|
|
|
return v1
|
|
|
|
.line 34
|
|
:cond_0
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v3, 0x6
|
|
|
|
if-lt v0, v3, :cond_2
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
move-result p1
|
|
|
|
const/16 v0, 0x10
|
|
|
|
if-le p1, v0, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
.line 35
|
|
:cond_2
|
|
:goto_0
|
|
iget-object p1, p0, Lcom/moji/mjweather/me/presenter/BasePassEditPresenter;->f:Lcom/moji/mvpframe/IMJMvpView;
|
|
|
|
check-cast p1, Lcom/moji/mjweather/me/view/IEditPassView;
|
|
|
|
const v0, 0x7f0e069e
|
|
|
|
invoke-virtual {p0, v0}, Lcom/moji/mjweather/me/presenter/BasePassEditPresenter;->a(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p1, v0, v2}, Lcom/moji/mjweather/me/view/IEditPassView;->onErrorShow(Ljava/lang/String;I)V
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method public f()V
|
|
.locals 1
|
|
|
|
.line 25
|
|
iget-object v0, p0, Lcom/moji/mjweather/me/presenter/BasePassEditPresenter;->f:Lcom/moji/mvpframe/IMJMvpView;
|
|
|
|
check-cast v0, Lcom/moji/mjweather/me/view/IEditPassView;
|
|
|
|
invoke-interface {v0}, Lcom/moji/mjweather/me/view/IEditPassView;->clearErrorView()V
|
|
|
|
return-void
|
|
.end method
|