107 lines
3.2 KiB
Smali
107 lines
3.2 KiB
Smali
.class Lcom/moji/mjweather/me/control/MeHeadActionControl$4;
|
|
.super Lcom/moji/requestcore/MJHttpCallback;
|
|
.source "MeHeadActionControl.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/mjweather/me/control/MeHeadActionControl;->b(Landroid/content/Context;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/MJHttpCallback<",
|
|
"Lcom/moji/http/cs/entity/UserCreditResp;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/credit/util/CreditSharedPref;
|
|
|
|
.field final synthetic b:Lcom/moji/mjweather/me/control/MeHeadActionControl;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/mjweather/me/control/MeHeadActionControl;Lcom/moji/credit/util/CreditSharedPref;)V
|
|
.locals 0
|
|
|
|
.line 275
|
|
iput-object p1, p0, Lcom/moji/mjweather/me/control/MeHeadActionControl$4;->b:Lcom/moji/mjweather/me/control/MeHeadActionControl;
|
|
|
|
iput-object p2, p0, Lcom/moji/mjweather/me/control/MeHeadActionControl$4;->a:Lcom/moji/credit/util/CreditSharedPref;
|
|
|
|
invoke-direct {p0}, Lcom/moji/requestcore/MJHttpCallback;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected a(Lcom/moji/http/cs/entity/UserCreditResp;)V
|
|
.locals 3
|
|
|
|
.line 278
|
|
iget p1, p1, Lcom/moji/http/cs/entity/UserCreditResp;->count:I
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
.line 280
|
|
iget-object v0, p0, Lcom/moji/mjweather/me/control/MeHeadActionControl$4;->a:Lcom/moji/credit/util/CreditSharedPref;
|
|
|
|
sget-object v1, Lcom/moji/credit/util/CreditSharedPref$KeyConstant;->USER_CREDIT:Lcom/moji/credit/util/CreditSharedPref$KeyConstant;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/moji/credit/util/CreditSharedPref;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Number;)V
|
|
|
|
.line 281
|
|
iget-object v0, p0, Lcom/moji/mjweather/me/control/MeHeadActionControl$4;->b:Lcom/moji/mjweather/me/control/MeHeadActionControl;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/moji/mjweather/me/control/MeHeadActionControl;->a(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 283
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/moji/mjweather/me/control/MeHeadActionControl$4;->a:Lcom/moji/credit/util/CreditSharedPref;
|
|
|
|
sget-object v0, Lcom/moji/credit/util/CreditSharedPref$KeyConstant;->USER_CREDIT:Lcom/moji/credit/util/CreditSharedPref$KeyConstant;
|
|
|
|
const/4 v1, -0x1
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1, v0, v1}, Lcom/moji/credit/util/CreditSharedPref;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Number;)V
|
|
|
|
:goto_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 275
|
|
check-cast p1, Lcom/moji/http/cs/entity/UserCreditResp;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjweather/me/control/MeHeadActionControl$4;->a(Lcom/moji/http/cs/entity/UserCreditResp;)V
|
|
|
|
return-void
|
|
.end method
|