l.smali
.class Lcom/sandboxol/halloween/view/template/fragment/reproduce/l;
.super Lcom/sandboxol/common/base/web/OnResponseListener;
.source "ReproduceListModel.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/halloween/view/template/fragment/reproduce/m;->onLoad(Lcom/sandboxol/common/base/web/OnResponseListener;)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/ReproduceInfo;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/sandboxol/common/base/web/OnResponseListener;
.field final synthetic b:Lcom/sandboxol/halloween/view/template/fragment/reproduce/m;
# direct methods
.method constructor <init>(Lcom/sandboxol/halloween/view/template/fragment/reproduce/m;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 3
.line 1
iput-object p1, p0, Lcom/sandboxol/halloween/view/template/fragment/reproduce/l;->b:Lcom/sandboxol/halloween/view/template/fragment/reproduce/m;
iput-object p2, p0, Lcom/sandboxol/halloween/view/template/fragment/reproduce/l;->a:Lcom/sandboxol/common/base/web/OnResponseListener;
invoke-direct {p0}, Lcom/sandboxol/common/base/web/OnResponseListener;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lcom/sandboxol/halloween/entity/ReproduceInfo;)V
.registers 3
if-eqz p1, :cond_22
.line 1
invoke-virtual {p1}, Lcom/sandboxol/halloween/entity/ReproduceInfo;->getRewardList()Ljava/util/List;
move-result-object v0
if-eqz v0, :cond_22
invoke-virtual {p1}, Lcom/sandboxol/halloween/entity/ReproduceInfo;->getRewardList()Ljava/util/List;
move-result-object v0
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
if-lez v0, :cond_22
.line 2
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/ReproduceInfo;)V
.line 3
iget-object v0, p0, Lcom/sandboxol/halloween/view/template/fragment/reproduce/l;->a:Lcom/sandboxol/common/base/web/OnResponseListener;
invoke-virtual {p1}, Lcom/sandboxol/halloween/entity/ReproduceInfo;->getRewardList()Ljava/util/List;
move-result-object p1
invoke-virtual {v0, p1}, Lcom/sandboxol/common/base/web/OnResponseListener;->onSuccess(Ljava/lang/Object;)V
:cond_22
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/reproduce/l;->b:Lcom/sandboxol/halloween/view/template/fragment/reproduce/m;
invoke-static {p2}, Lcom/sandboxol/halloween/view/template/fragment/reproduce/m;->a(Lcom/sandboxol/halloween/view/template/fragment/reproduce/m;)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/reproduce/l;->b:Lcom/sandboxol/halloween/view/template/fragment/reproduce/m;
invoke-static {v0}, Lcom/sandboxol/halloween/view/template/fragment/reproduce/m;->b(Lcom/sandboxol/halloween/view/template/fragment/reproduce/m;)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/ReproduceInfo;
invoke-virtual {p0, p1}, Lcom/sandboxol/halloween/view/template/fragment/reproduce/l;->a(Lcom/sandboxol/halloween/entity/ReproduceInfo;)V
return-void
.end method