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

95 lines
2.9 KiB
Smali

.class Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter$1;
.super Lcom/moji/requestcore/MJBaseHttpCallback;
.source "SnowEntryPresenter.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter;->a(I)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/http/snow/bean/SnowPushInfo;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter;
# direct methods
.method constructor <init>(Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter;)V
.locals 0
.line 23
iput-object p1, p0, Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter$1;->a:Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter;
invoke-direct {p0}, Lcom/moji/requestcore/MJBaseHttpCallback;-><init>()V
return-void
.end method
# virtual methods
.method protected a(Lcom/moji/http/snow/bean/SnowPushInfo;)V
.locals 1
.line 26
invoke-virtual {p1}, Lcom/moji/http/snow/bean/SnowPushInfo;->getCode()I
move-result v0
if-nez v0, :cond_0
.line 27
iget-object v0, p0, Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter$1;->a:Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter;
invoke-static {v0}, Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter;->a(Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter;)Lcom/moji/base/MJPresenter$ICallback;
move-result-object v0
check-cast v0, Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter$SnowEntryCallback;
invoke-interface {v0, p1}, Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter$SnowEntryCallback;->onSuccess(Lcom/moji/http/snow/bean/SnowPushInfo;)V
:cond_0
return-void
.end method
.method protected onFailed(Lcom/moji/requestcore/MJException;)V
.locals 1
.line 33
iget-object v0, p0, Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter$1;->a:Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter;
invoke-static {v0}, Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter;->b(Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter;)Lcom/moji/base/MJPresenter$ICallback;
move-result-object v0
check-cast v0, Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter$SnowEntryCallback;
invoke-interface {v0, p1}, Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter$SnowEntryCallback;->onFailed(Lcom/moji/requestcore/MJException;)V
return-void
.end method
.method protected synthetic onSuccess(Ljava/lang/Object;)V
.locals 0
.line 23
check-cast p1, Lcom/moji/http/snow/bean/SnowPushInfo;
invoke-virtual {p0, p1}, Lcom/moji/mjsnowmodule/presenter/SnowEntryPresenter$1;->a(Lcom/moji/http/snow/bean/SnowPushInfo;)V
return-void
.end method