HomeDataCacheManager$4.smali
.class final Lcom/sandboxol/center/utils/HomeDataCacheManager$4;
.super Lcom/sandboxol/common/base/web/OnResponseListener;
.source "HomeDataCacheManager.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/center/utils/HomeDataCacheManager;->a(Landroid/content/Context;)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/common/widget/rv/pagerv/TypePageData<",
"Lcom/sandboxol/greendao/entity/Game;",
">;>;"
}
.end annotation
# direct methods
.method constructor <init>()V
.registers 1
.line 1
invoke-direct {p0}, Lcom/sandboxol/common/base/web/OnResponseListener;-><init>()V
return-void
.end method
# virtual methods
.method public onError(ILjava/lang/String;)V
.registers 3
return-void
.end method
.method public onServerError(I)V
.registers 2
return-void
.end method
.method public onSuccess(Lcom/sandboxol/common/widget/rv/pagerv/TypePageData;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/sandboxol/common/widget/rv/pagerv/TypePageData<",
"Lcom/sandboxol/greendao/entity/Game;",
">;)V"
}
.end annotation
if-eqz p1, :cond_47
.line 2
invoke-virtual {p1}, Lcom/sandboxol/common/widget/rv/pagerv/TypePageData;->getPageInfo()Lcom/sandboxol/common/widget/rv/pagerv/PageData;
move-result-object v0
if-eqz v0, :cond_47
.line 3
invoke-virtual {p1}, Lcom/sandboxol/common/widget/rv/pagerv/TypePageData;->getPageInfo()Lcom/sandboxol/common/widget/rv/pagerv/PageData;
move-result-object v0
invoke-virtual {v0}, Lcom/sandboxol/common/widget/rv/pagerv/PageData;->getData()Ljava/util/List;
move-result-object v0
if-eqz v0, :cond_47
.line 4
invoke-virtual {p1}, Lcom/sandboxol/common/widget/rv/pagerv/TypePageData;->getPageInfo()Lcom/sandboxol/common/widget/rv/pagerv/PageData;
move-result-object v0
invoke-virtual {v0}, Lcom/sandboxol/common/widget/rv/pagerv/PageData;->getData()Ljava/util/List;
move-result-object v0
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
if-nez v0, :cond_21
goto :goto_47
.line 5
:cond_21
# invokes: Lcom/sandboxol/center/utils/HomeDataCacheManager;->getInstance()Lcom/sandboxol/center/utils/HomeDataCacheManager;
invoke-static {}, Lcom/sandboxol/center/utils/HomeDataCacheManager;->access$300()Lcom/sandboxol/center/utils/HomeDataCacheManager;
move-result-object v0
# getter for: Lcom/sandboxol/center/utils/HomeDataCacheManager;->recentListRefreshListeners:Ljava/util/List;
invoke-static {v0}, Lcom/sandboxol/center/utils/HomeDataCacheManager;->access$800(Lcom/sandboxol/center/utils/HomeDataCacheManager;)Ljava/util/List;
move-result-object v0
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_2d
:goto_2d
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_47
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/sandboxol/center/utils/HomeDataCacheManager$OnRecentListRefreshListener;
if-eqz v1, :cond_2d
.line 6
invoke-virtual {p1}, Lcom/sandboxol/common/widget/rv/pagerv/TypePageData;->getPageInfo()Lcom/sandboxol/common/widget/rv/pagerv/PageData;
move-result-object v2
invoke-virtual {v2}, Lcom/sandboxol/common/widget/rv/pagerv/PageData;->getData()Ljava/util/List;
move-result-object v2
invoke-interface {v1, v2}, Lcom/sandboxol/center/utils/HomeDataCacheManager$OnRecentListRefreshListener;->onRecentListRefresh(Ljava/util/List;)V
goto :goto_2d
:cond_47
:goto_47
return-void
.end method
.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
.registers 2
.line 1
check-cast p1, Lcom/sandboxol/common/widget/rv/pagerv/TypePageData;
invoke-virtual {p0, p1}, Lcom/sandboxol/center/utils/HomeDataCacheManager$4;->onSuccess(Lcom/sandboxol/common/widget/rv/pagerv/TypePageData;)V
return-void
.end method