Weather/smali_classes3/com/moji/sakura/presenter/SakuraCountryPresenter$1.smali
2021-05-10 10:13:34 +02:00

86 lines
2.1 KiB
Smali

.class Lcom/moji/sakura/presenter/SakuraCountryPresenter$1;
.super Lcom/moji/requestcore/MJBaseHttpCallback;
.source "SakuraCountryPresenter.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/moji/sakura/presenter/SakuraCountryPresenter;->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/sakura/entity/SakuraCity;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/moji/sakura/presenter/SakuraCountryPresenter;
# direct methods
.method constructor <init>(Lcom/moji/sakura/presenter/SakuraCountryPresenter;)V
.locals 0
.line 88
iput-object p1, p0, Lcom/moji/sakura/presenter/SakuraCountryPresenter$1;->a:Lcom/moji/sakura/presenter/SakuraCountryPresenter;
invoke-direct {p0}, Lcom/moji/requestcore/MJBaseHttpCallback;-><init>()V
return-void
.end method
# virtual methods
.method protected a(Lcom/moji/http/sakura/entity/SakuraCity;)V
.locals 1
if-eqz p1, :cond_0
.line 91
invoke-virtual {p1}, Lcom/moji/http/sakura/entity/SakuraCity;->OK()Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p1, Lcom/moji/http/sakura/entity/SakuraCity;->citys:Ljava/util/List;
if-eqz v0, :cond_0
.line 92
sget-object v0, Lcom/moji/sakura/presenter/SakuraCountryPresenter;->b:Ljava/util/List;
iget-object p1, p1, Lcom/moji/http/sakura/entity/SakuraCity;->citys:Ljava/util/List;
invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
:cond_0
return-void
.end method
.method protected onFailed(Lcom/moji/requestcore/MJException;)V
.locals 0
return-void
.end method
.method protected synthetic onSuccess(Ljava/lang/Object;)V
.locals 0
.line 88
check-cast p1, Lcom/moji/http/sakura/entity/SakuraCity;
invoke-virtual {p0, p1}, Lcom/moji/sakura/presenter/SakuraCountryPresenter$1;->a(Lcom/moji/http/sakura/entity/SakuraCity;)V
return-void
.end method