o.smali

.class final Lcom/sandboxol/halloween/view/template/fragment/task/exchange/o;
.super Lcom/sandboxol/common/base/web/OnResponseListener;
.source "ExchangeModel.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/halloween/view/template/fragment/task/exchange/q;->a(Landroid/content/Context;JLjava/lang/String;Lcom/sandboxol/halloween/view/template/fragment/task/exchange/q$b;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/sandboxol/common/base/web/OnResponseListener<",
        "Lcom/sandboxol/halloween/entity/ExchangeResponse;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/sandboxol/halloween/view/template/fragment/task/exchange/q$b;

.field final synthetic b:Landroid/content/Context;


# direct methods
.method constructor <init>(Lcom/sandboxol/halloween/view/template/fragment/task/exchange/q$b;Landroid/content/Context;)V
    .registers 3

    .line 1
    iput-object p1, p0, Lcom/sandboxol/halloween/view/template/fragment/task/exchange/o;->a:Lcom/sandboxol/halloween/view/template/fragment/task/exchange/q$b;

    iput-object p2, p0, Lcom/sandboxol/halloween/view/template/fragment/task/exchange/o;->b:Landroid/content/Context;

    invoke-direct {p0}, Lcom/sandboxol/common/base/web/OnResponseListener;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/sandboxol/halloween/entity/ExchangeResponse;)V
    .registers 3

    if-eqz p1, :cond_9

    .line 1
    iget-object v0, p0, Lcom/sandboxol/halloween/view/template/fragment/task/exchange/o;->a:Lcom/sandboxol/halloween/view/template/fragment/task/exchange/q$b;

    if-eqz v0, :cond_9

    .line 2
    invoke-interface {v0, p1}, Lcom/sandboxol/halloween/view/template/fragment/task/exchange/q$b;->a(Lcom/sandboxol/halloween/entity/ExchangeResponse;)V

    :cond_9
    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/task/exchange/o;->b:Landroid/content/Context;

    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/task/exchange/o;->b:Landroid/content/Context;

    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/ExchangeResponse;

    invoke-virtual {p0, p1}, Lcom/sandboxol/halloween/view/template/fragment/task/exchange/o;->a(Lcom/sandboxol/halloween/entity/ExchangeResponse;)V

    return-void
.end method