S.smali

.class Lcom/sandboxol/gamedetail/view/fragment/detail/S;
.super Lcom/sandboxol/common/base/web/OnResponseListener;
.source "GameDetailDataLogic.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/gamedetail/view/fragment/detail/U;->a(Lcom/sandboxol/greendao/entity/Game;ILcom/sandboxol/gamedetail/view/fragment/detail/Qa;Landroidx/databinding/ObservableField;)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/greendao/entity/Game;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/sandboxol/greendao/entity/Game;

.field final synthetic b:I

.field final synthetic c:Lcom/sandboxol/gamedetail/view/fragment/detail/Qa;

.field final synthetic d:Landroidx/databinding/ObservableField;

.field final synthetic e:Lcom/sandboxol/gamedetail/view/fragment/detail/U;


# direct methods
.method constructor <init>(Lcom/sandboxol/gamedetail/view/fragment/detail/U;Lcom/sandboxol/greendao/entity/Game;ILcom/sandboxol/gamedetail/view/fragment/detail/Qa;Landroidx/databinding/ObservableField;)V
    .registers 6

    .line 1
    iput-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->e:Lcom/sandboxol/gamedetail/view/fragment/detail/U;

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->a:Lcom/sandboxol/greendao/entity/Game;

    iput p3, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->b:I

    iput-object p4, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->c:Lcom/sandboxol/gamedetail/view/fragment/detail/Qa;

    iput-object p5, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->d:Landroidx/databinding/ObservableField;

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

    return-void
.end method


# virtual methods
.method public a(Lcom/sandboxol/greendao/entity/Game;)V
    .registers 8

    .line 1
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->e:Lcom/sandboxol/gamedetail/view/fragment/detail/U;

    iget-object v1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->a:Lcom/sandboxol/greendao/entity/Game;

    iget v3, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->b:I

    iget-object v4, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->c:Lcom/sandboxol/gamedetail/view/fragment/detail/Qa;

    iget-object v5, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->d:Landroidx/databinding/ObservableField;

    move-object v2, p1

    invoke-static/range {v0 .. v5}, Lcom/sandboxol/gamedetail/view/fragment/detail/U;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/U;Lcom/sandboxol/greendao/entity/Game;Lcom/sandboxol/greendao/entity/Game;ILcom/sandboxol/gamedetail/view/fragment/detail/Qa;Landroidx/databinding/ObservableField;)V

    return-void
.end method

.method public onError(ILjava/lang/String;)V
    .registers 4

    .line 1
    iget-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->e:Lcom/sandboxol/gamedetail/view/fragment/detail/U;

    invoke-static {p2}, Lcom/sandboxol/gamedetail/view/fragment/detail/U;->b(Lcom/sandboxol/gamedetail/view/fragment/detail/U;)Landroid/content/Context;

    move-result-object p2

    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->e:Lcom/sandboxol/gamedetail/view/fragment/detail/U;

    invoke-static {v0}, Lcom/sandboxol/gamedetail/view/fragment/detail/U;->b(Lcom/sandboxol/gamedetail/view/fragment/detail/U;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, p1}, Lcom/sandboxol/common/utils/HttpUtils;->getHttpErrorMsg(Landroid/content/Context;I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p2, p1}, Lcom/sandboxol/common/utils/AppToastUtils;->showShortNegativeTipToast(Landroid/content/Context;Ljava/lang/String;)V

    return-void
.end method

.method public onServerError(I)V
    .registers 4

    .line 1
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->e:Lcom/sandboxol/gamedetail/view/fragment/detail/U;

    invoke-static {v0}, Lcom/sandboxol/gamedetail/view/fragment/detail/U;->b(Lcom/sandboxol/gamedetail/view/fragment/detail/U;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->e:Lcom/sandboxol/gamedetail/view/fragment/detail/U;

    invoke-static {v1}, Lcom/sandboxol/gamedetail/view/fragment/detail/U;->b(Lcom/sandboxol/gamedetail/view/fragment/detail/U;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1, p1}, Lcom/sandboxol/common/utils/HttpUtils;->getHttpErrorMsg(Landroid/content/Context;I)Ljava/lang/String;

    move-result-object p1

    invoke-static {v0, p1}, Lcom/sandboxol/common/utils/AppToastUtils;->showShortNegativeTipToast(Landroid/content/Context;Ljava/lang/String;)V

    return-void
.end method

.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
    .registers 2

    .line 1
    check-cast p1, Lcom/sandboxol/greendao/entity/Game;

    invoke-virtual {p0, p1}, Lcom/sandboxol/gamedetail/view/fragment/detail/S;->a(Lcom/sandboxol/greendao/entity/Game;)V

    return-void
.end method