g.smali
.class public final Lcom/sandboxol/halloween/view/template/fragment/chest/g;
.super Ljava/lang/Object;
.source "ChestViewModel.kt"
# interfaces
.implements Lrx/Observer;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/halloween/view/template/fragment/chest/j;->W()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lrx/Observer<",
"Ljava/lang/Long;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/sandboxol/halloween/view/template/fragment/chest/j;
# direct methods
.method constructor <init>(Lcom/sandboxol/halloween/view/template/fragment/chest/j;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 1
iput-object p1, p0, Lcom/sandboxol/halloween/view/template/fragment/chest/g;->a:Lcom/sandboxol/halloween/view/template/fragment/chest/j;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Long;)V
.registers 3
.line 1
iget-object p1, p0, Lcom/sandboxol/halloween/view/template/fragment/chest/g;->a:Lcom/sandboxol/halloween/view/template/fragment/chest/j;
invoke-virtual {p1}, Lcom/sandboxol/halloween/view/template/fragment/chest/j;->S()Landroidx/databinding/ObservableField;
move-result-object p1
const/4 v0, 0x1
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
invoke-virtual {p1, v0}, Landroidx/databinding/ObservableField;->set(Ljava/lang/Object;)V
.line 2
iget-object p1, p0, Lcom/sandboxol/halloween/view/template/fragment/chest/g;->a:Lcom/sandboxol/halloween/view/template/fragment/chest/j;
invoke-virtual {p1}, Lcom/sandboxol/halloween/view/template/fragment/chest/j;->u()I
move-result p1
.line 3
new-instance v0, Lcom/sandboxol/halloween/view/template/fragment/chest/f;
invoke-direct {v0, p0}, Lcom/sandboxol/halloween/view/template/fragment/chest/f;-><init>(Lcom/sandboxol/halloween/view/template/fragment/chest/g;)V
.line 4
invoke-static {p1, v0}, Lcom/sandboxol/halloween/web/x;->h(ILcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public onCompleted()V
.registers 1
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 3
const-string v0, "e"
invoke-static {p1, v0}, Lkotlin/jvm/internal/i;->c(Ljava/lang/Object;Ljava/lang/String;)V
const/4 p1, 0x0
.line 1
invoke-static {p1}, Lcom/sandboxol/halloween/view/template/c;->a(Z)V
return-void
.end method
.method public bridge synthetic onNext(Ljava/lang/Object;)V
.registers 2
.line 1
check-cast p1, Ljava/lang/Long;
invoke-virtual {p0, p1}, Lcom/sandboxol/halloween/view/template/fragment/chest/g;->a(Ljava/lang/Long;)V
return-void
.end method