Weather/smali_classes2/com/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter$1.smali
2021-05-10 10:13:34 +02:00

95 lines
3.2 KiB
Smali

.class Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter$1;
.super Lcom/moji/requestcore/MJBaseHttpCallback;
.source "SnowCreateSubscribePresenter.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter;->a(IDDLjava/lang/String;Ljava/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/MJBaseHttpCallback<",
"Lcom/moji/requestcore/entity/MJBaseRespRc;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter;
# direct methods
.method constructor <init>(Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter;)V
.locals 0
.line 21
iput-object p1, p0, Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter$1;->a:Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter;
invoke-direct {p0}, Lcom/moji/requestcore/MJBaseHttpCallback;-><init>()V
return-void
.end method
# virtual methods
.method protected a(Lcom/moji/requestcore/entity/MJBaseRespRc;)V
.locals 1
.line 24
invoke-virtual {p1}, Lcom/moji/requestcore/entity/MJBaseRespRc;->getCode()I
move-result v0
if-nez v0, :cond_0
.line 25
iget-object v0, p0, Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter$1;->a:Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter;
invoke-static {v0}, Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter;->a(Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter;)Lcom/moji/base/MJPresenter$ICallback;
move-result-object v0
check-cast v0, Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter$CreateSubscribeCallback;
invoke-interface {v0, p1}, Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter$CreateSubscribeCallback;->openSuccess(Lcom/moji/requestcore/entity/MJBaseRespRc;)V
:cond_0
return-void
.end method
.method protected onFailed(Lcom/moji/requestcore/MJException;)V
.locals 1
.line 31
iget-object v0, p0, Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter$1;->a:Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter;
invoke-static {v0}, Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter;->b(Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter;)Lcom/moji/base/MJPresenter$ICallback;
move-result-object v0
check-cast v0, Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter$CreateSubscribeCallback;
invoke-interface {v0, p1}, Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter$CreateSubscribeCallback;->openFailed(Lcom/moji/requestcore/MJException;)V
return-void
.end method
.method protected synthetic onSuccess(Ljava/lang/Object;)V
.locals 0
.line 21
check-cast p1, Lcom/moji/requestcore/entity/MJBaseRespRc;
invoke-virtual {p0, p1}, Lcom/moji/mjsnowmodule/presenter/SnowCreateSubscribePresenter$1;->a(Lcom/moji/requestcore/entity/MJBaseRespRc;)V
return-void
.end method