t.smali
.class Lcom/sandboxol/googlepay/view/fragment/recharge/t;
.super Lcom/sandboxol/common/base/web/OnResponseListener;
.source "RechargeViewModel.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/googlepay/view/fragment/recharge/v;->m()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/center/entity/VideoStarConfig;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/sandboxol/googlepay/view/fragment/recharge/v;
# direct methods
.method constructor <init>(Lcom/sandboxol/googlepay/view/fragment/recharge/v;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/sandboxol/googlepay/view/fragment/recharge/t;->a:Lcom/sandboxol/googlepay/view/fragment/recharge/v;
invoke-direct {p0}, Lcom/sandboxol/common/base/web/OnResponseListener;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lcom/sandboxol/center/entity/VideoStarConfig;)V
.registers 5
if-eqz p1, :cond_d
.line 1
invoke-static {}, Lcom/sandboxol/center/entity/AccountCenter;->newInstance()Lcom/sandboxol/center/entity/AccountCenter;
move-result-object v0
invoke-virtual {p1}, Lcom/sandboxol/center/entity/VideoStarConfig;->getRate()D
move-result-wide v1
invoke-virtual {v0, v1, v2}, Lcom/sandboxol/center/entity/AccountCenter;->setRate(D)V
:cond_d
return-void
.end method
.method public onError(ILjava/lang/String;)V
.registers 3
.line 1
iget-object p2, p0, Lcom/sandboxol/googlepay/view/fragment/recharge/t;->a:Lcom/sandboxol/googlepay/view/fragment/recharge/v;
invoke-static {p2}, Lcom/sandboxol/googlepay/view/fragment/recharge/v;->a(Lcom/sandboxol/googlepay/view/fragment/recharge/v;)Landroid/content/Context;
move-result-object p2
invoke-static {p2, p1}, Lcom/sandboxol/center/web/UserOnError;->showErrorTip(Landroid/content/Context;I)V
return-void
.end method
.method public onServerError(I)V
.registers 3
.line 1
iget-object v0, p0, Lcom/sandboxol/googlepay/view/fragment/recharge/t;->a:Lcom/sandboxol/googlepay/view/fragment/recharge/v;
invoke-static {v0}, Lcom/sandboxol/googlepay/view/fragment/recharge/v;->a(Lcom/sandboxol/googlepay/view/fragment/recharge/v;)Landroid/content/Context;
move-result-object v0
invoke-static {v0, p1}, Lcom/sandboxol/common/web/error/ServerOnError;->showOnServerError(Landroid/content/Context;I)V
return-void
.end method
.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
.registers 2
.line 1
check-cast p1, Lcom/sandboxol/center/entity/VideoStarConfig;
invoke-virtual {p0, p1}, Lcom/sandboxol/googlepay/view/fragment/recharge/t;->a(Lcom/sandboxol/center/entity/VideoStarConfig;)V
return-void
.end method