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

93 lines
2.7 KiB
Smali

.class Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter$1;
.super Ljava/lang/Object;
.source "SnowMapPresenter.java"
# interfaces
.implements Lcom/moji/mjsnowmodule/ShortSnowDataModel$LoadSnowDataCallBack;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter;->a(DDIZ)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Z
.field final synthetic b:Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter;
# direct methods
.method constructor <init>(Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter;Z)V
.locals 0
.line 48
iput-object p1, p0, Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter$1;->b:Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter;
iput-boolean p2, p0, Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter$1;->a:Z
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lcom/moji/http/snow/bean/SnowDetailResp;)V
.locals 2
if-eqz p1, :cond_0
.line 51
invoke-virtual {p1}, Lcom/moji/http/snow/bean/SnowDetailResp;->OK()Z
move-result v0
if-eqz v0, :cond_0
.line 52
iget-object v0, p0, Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter$1;->b:Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter;
invoke-static {v0}, Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter;->a(Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter;)Lcom/moji/base/MJPresenter$ICallback;
move-result-object v0
check-cast v0, Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter$SnowCallback;
iget-boolean v1, p0, Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter$1;->a:Z
invoke-interface {v0, p1, v1}, Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter$SnowCallback;->a(Lcom/moji/http/snow/bean/SnowDetailResp;Z)V
:cond_0
return-void
.end method
.method public a(Lcom/moji/requestcore/MJException;)V
.locals 0
.line 58
iget-boolean p1, p0, Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter$1;->a:Z
if-eqz p1, :cond_0
.line 59
iget-object p1, p0, Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter$1;->b:Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter;
invoke-static {p1}, Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter;->b(Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter;)Lcom/moji/base/MJPresenter$ICallback;
move-result-object p1
check-cast p1, Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter$SnowCallback;
invoke-interface {p1}, Lcom/moji/mjsnowmodule/presenter/SnowMapPresenter$SnowCallback;->b()V
:cond_0
return-void
.end method