113 lines
3.0 KiB
Smali
113 lines
3.0 KiB
Smali
.class Lcom/moji/mjallergy/AllergyFeedbackActivity$4;
|
|
.super Lcom/moji/requestcore/MJBaseHttpCallback;
|
|
.source "AllergyFeedbackActivity.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/mjallergy/AllergyFeedbackActivity;->e()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/mjallergy/AllergyFeedbackActivity;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/mjallergy/AllergyFeedbackActivity;)V
|
|
.locals 0
|
|
|
|
.line 269
|
|
iput-object p1, p0, Lcom/moji/mjallergy/AllergyFeedbackActivity$4;->a:Lcom/moji/mjallergy/AllergyFeedbackActivity;
|
|
|
|
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 272
|
|
invoke-virtual {p1}, Lcom/moji/requestcore/entity/MJBaseRespRc;->getCode()I
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 273
|
|
invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
sget v0, Lpad/aqi/cnemc/com/mjallergymodule/R$string;->allergy_feed_success:I
|
|
|
|
invoke-static {p1, v0}, Lcom/moji/helper/MJTipHelper;->a(Landroid/content/Context;I)V
|
|
|
|
.line 274
|
|
iget-object p1, p0, Lcom/moji/mjallergy/AllergyFeedbackActivity$4;->a:Lcom/moji/mjallergy/AllergyFeedbackActivity;
|
|
|
|
invoke-virtual {p1}, Lcom/moji/mjallergy/AllergyFeedbackActivity;->finish()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 276
|
|
:cond_0
|
|
invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
sget v0, Lpad/aqi/cnemc/com/mjallergymodule/R$string;->allergy_feed_failed:I
|
|
|
|
invoke-static {p1, v0}, Lcom/moji/helper/MJTipHelper;->b(Landroid/content/Context;I)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onFailed(Lcom/moji/requestcore/MJException;)V
|
|
.locals 1
|
|
|
|
const-string v0, "AllergyFeedbackActivity"
|
|
|
|
.line 282
|
|
invoke-static {v0, p1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 283
|
|
invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
sget v0, Lpad/aqi/cnemc/com/mjallergymodule/R$string;->allergy_feed_failed:I
|
|
|
|
invoke-static {p1, v0}, Lcom/moji/helper/MJTipHelper;->b(Landroid/content/Context;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected synthetic onSuccess(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 269
|
|
check-cast p1, Lcom/moji/requestcore/entity/MJBaseRespRc;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjallergy/AllergyFeedbackActivity$4;->a(Lcom/moji/requestcore/entity/MJBaseRespRc;)V
|
|
|
|
return-void
|
|
.end method
|