k.smali
.class Lcom/sandboxol/halloween/view/template/fragment/wish/k;
.super Lcom/sandboxol/common/base/web/OnResponseListener;
.source "WishViewModel.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/halloween/view/template/fragment/wish/l;->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/halloween/entity/WishInfo;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/sandboxol/halloween/view/template/fragment/wish/l;
# direct methods
.method constructor <init>(Lcom/sandboxol/halloween/view/template/fragment/wish/l;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/sandboxol/halloween/view/template/fragment/wish/k;->a:Lcom/sandboxol/halloween/view/template/fragment/wish/l;
invoke-direct {p0}, Lcom/sandboxol/common/base/web/OnResponseListener;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lcom/sandboxol/halloween/entity/WishInfo;)V
.registers 6
.line 1
invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/sandboxol/halloween/view/template/c;->a(Lcom/sandboxol/halloween/entity/WishInfo;)V
.line 2
iget-object p1, p0, Lcom/sandboxol/halloween/view/template/fragment/wish/k;->a:Lcom/sandboxol/halloween/view/template/fragment/wish/l;
invoke-virtual {p1}, Lcom/sandboxol/halloween/view/template/fragment/wish/l;->initView()V
.line 3
invoke-static {}, Lcom/sandboxol/center/router/manager/BillingManager;->getInstance()Lcom/sandboxol/center/router/manager/BillingManager;
move-result-object p1
iget-object v0, p0, Lcom/sandboxol/halloween/view/template/fragment/wish/k;->a:Lcom/sandboxol/halloween/view/template/fragment/wish/l;
invoke-static {v0}, Lcom/sandboxol/halloween/view/template/fragment/wish/l;->a(Lcom/sandboxol/halloween/view/template/fragment/wish/l;)Landroid/content/Context;
move-result-object v0
new-instance v1, Lcom/sandboxol/halloween/view/template/fragment/wish/j;
invoke-direct {v1, p0}, Lcom/sandboxol/halloween/view/template/fragment/wish/j;-><init>(Lcom/sandboxol/halloween/view/template/fragment/wish/k;)V
const/4 v2, 0x1
const/4 v3, 0x0
invoke-virtual {p1, v0, v2, v3, v1}, Lcom/sandboxol/center/router/manager/BillingManager;->updateUserMoney(Landroid/content/Context;ZLcom/sandboxol/greendao/entity/User;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public onError(ILjava/lang/String;)V
.registers 3
.line 1
iget-object p2, p0, Lcom/sandboxol/halloween/view/template/fragment/wish/k;->a:Lcom/sandboxol/halloween/view/template/fragment/wish/l;
invoke-static {p2}, Lcom/sandboxol/halloween/view/template/fragment/wish/l;->a(Lcom/sandboxol/halloween/view/template/fragment/wish/l;)Landroid/content/Context;
move-result-object p2
invoke-static {p2, p1}, Lcom/sandboxol/halloween/web/y;->a(Landroid/content/Context;I)V
return-void
.end method
.method public onServerError(I)V
.registers 3
.line 1
iget-object v0, p0, Lcom/sandboxol/halloween/view/template/fragment/wish/k;->a:Lcom/sandboxol/halloween/view/template/fragment/wish/l;
invoke-static {v0}, Lcom/sandboxol/halloween/view/template/fragment/wish/l;->a(Lcom/sandboxol/halloween/view/template/fragment/wish/l;)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/halloween/entity/WishInfo;
invoke-virtual {p0, p1}, Lcom/sandboxol/halloween/view/template/fragment/wish/k;->a(Lcom/sandboxol/halloween/entity/WishInfo;)V
return-void
.end method