114 lines
3.0 KiB
Smali
114 lines
3.0 KiB
Smali
.class Lcom/moji/index/IndexPresenter$1;
|
|
.super Lcom/moji/requestcore/MJHttpCallback;
|
|
.source "IndexPresenter.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/index/IndexPresenter;->a(Ljava/lang/String;Ljava/lang/String;IILjava/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/MJHttpCallback<",
|
|
"Lcom/moji/http/index/IndexResp;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/index/IndexPresenter;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/index/IndexPresenter;)V
|
|
.locals 0
|
|
|
|
.line 45
|
|
iput-object p1, p0, Lcom/moji/index/IndexPresenter$1;->a:Lcom/moji/index/IndexPresenter;
|
|
|
|
invoke-direct {p0}, Lcom/moji/requestcore/MJHttpCallback;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected a(Lcom/moji/http/index/IndexResp;)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 48
|
|
iget-object v0, p1, Lcom/moji/http/index/IndexResp;->index_region_list:Ljava/util/List;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p1, Lcom/moji/http/index/IndexResp;->index_region_list:Ljava/util/List;
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 52
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/moji/index/IndexPresenter$1;->a:Lcom/moji/index/IndexPresenter;
|
|
|
|
invoke-static {v0}, Lcom/moji/index/IndexPresenter;->a(Lcom/moji/index/IndexPresenter;)Lcom/moji/index/IndexPresenter$IndexCallback;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1}, Lcom/moji/index/IndexPresenter$IndexCallback;->a(Lcom/moji/http/index/IndexResp;)V
|
|
|
|
return-void
|
|
|
|
.line 49
|
|
:cond_1
|
|
:goto_0
|
|
iget-object p1, p0, Lcom/moji/index/IndexPresenter$1;->a:Lcom/moji/index/IndexPresenter;
|
|
|
|
invoke-static {p1}, Lcom/moji/index/IndexPresenter;->a(Lcom/moji/index/IndexPresenter;)Lcom/moji/index/IndexPresenter$IndexCallback;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Lcom/moji/index/IndexPresenter$IndexCallback;->c()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onFailed(Lcom/moji/requestcore/MJException;)V
|
|
.locals 1
|
|
|
|
.line 57
|
|
iget-object v0, p0, Lcom/moji/index/IndexPresenter$1;->a:Lcom/moji/index/IndexPresenter;
|
|
|
|
invoke-static {v0}, Lcom/moji/index/IndexPresenter;->a(Lcom/moji/index/IndexPresenter;)Lcom/moji/index/IndexPresenter$IndexCallback;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1}, Lcom/moji/index/IndexPresenter$IndexCallback;->a(Lcom/moji/requestcore/MJException;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected synthetic onSuccess(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 45
|
|
check-cast p1, Lcom/moji/http/index/IndexResp;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/index/IndexPresenter$1;->a(Lcom/moji/http/index/IndexResp;)V
|
|
|
|
return-void
|
|
.end method
|