i.smali

.class Lcom/sandboxol/gamedetail/view/fragment/rank/i;
.super Lcom/sandboxol/common/base/web/OnResponseListener;
.source "GameDetailRankPageListModel.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/gamedetail/view/fragment/rank/j;->onLoad(IILcom/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/center/entity/RankInfo<",
        "Lcom/sandboxol/center/entity/CampaignRank;",
        ">;>;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/sandboxol/common/base/web/OnResponseListener;

.field final synthetic b:Lcom/sandboxol/gamedetail/view/fragment/rank/j;


# direct methods
.method constructor <init>(Lcom/sandboxol/gamedetail/view/fragment/rank/j;Lcom/sandboxol/common/base/web/OnResponseListener;)V
    .registers 3

    .line 1
    iput-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/rank/i;->b:Lcom/sandboxol/gamedetail/view/fragment/rank/j;

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/rank/i;->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/center/entity/RankInfo;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/sandboxol/center/entity/RankInfo<",
            "Lcom/sandboxol/center/entity/CampaignRank;",
            ">;)V"
        }
    .end annotation

    .line 1
    invoke-virtual {p1}, Lcom/sandboxol/center/entity/RankInfo;->getPageData()Lcom/sandboxol/common/widget/rv/pagerv/PageData;

    move-result-object p1

    .line 2
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/rank/i;->a:Lcom/sandboxol/common/base/web/OnResponseListener;

    invoke-virtual {v0, p1}, Lcom/sandboxol/common/base/web/OnResponseListener;->onSuccess(Ljava/lang/Object;)V

    return-void
.end method

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

    .line 1
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/rank/i;->a:Lcom/sandboxol/common/base/web/OnResponseListener;

    invoke-virtual {v0, p1, p2}, Lcom/sandboxol/common/base/web/OnResponseListener;->onError(ILjava/lang/String;)V

    return-void
.end method

.method public onServerError(I)V
    .registers 3

    .line 1
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/rank/i;->b:Lcom/sandboxol/gamedetail/view/fragment/rank/j;

    invoke-static {v0}, Lcom/sandboxol/gamedetail/view/fragment/rank/j;->a(Lcom/sandboxol/gamedetail/view/fragment/rank/j;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, p1}, Lcom/sandboxol/common/web/error/ServerOnError;->showOnServerError(Landroid/content/Context;I)V

    .line 2
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/rank/i;->a:Lcom/sandboxol/common/base/web/OnResponseListener;

    invoke-virtual {v0, p1}, Lcom/sandboxol/common/base/web/OnResponseListener;->onServerError(I)V

    return-void
.end method

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

    .line 1
    check-cast p1, Lcom/sandboxol/center/entity/RankInfo;

    invoke-virtual {p0, p1}, Lcom/sandboxol/gamedetail/view/fragment/rank/i;->a(Lcom/sandboxol/center/entity/RankInfo;)V

    return-void
.end method