g$b.smali
.class public final Lcom/masala/share/proto/puller/g$b;
.super Lsg/bigo/svcapi/RequestUICallback;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/masala/share/proto/puller/g;->a(ZLjava/lang/Object;Lcom/imo/android/imoim/feeds/c/a;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lsg/bigo/svcapi/RequestUICallback<",
"Lcom/masala/share/proto/protocol/ag;",
">;"
}
.end annotation
# instance fields
.field final synthetic $isReload:Z
.field final synthetic $l:Lcom/imo/android/imoim/feeds/c/a;
.field final synthetic this$0:Lcom/masala/share/proto/puller/g;
# direct methods
.method constructor <init>(Lcom/masala/share/proto/puller/g;Lcom/imo/android/imoim/feeds/c/a;Z)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/imo/android/imoim/feeds/c/a;",
"Z)V"
}
.end annotation
.line 69
iput-object p1, p0, Lcom/masala/share/proto/puller/g$b;->this$0:Lcom/masala/share/proto/puller/g;
iput-object p2, p0, Lcom/masala/share/proto/puller/g$b;->$l:Lcom/imo/android/imoim/feeds/c/a;
iput-boolean p3, p0, Lcom/masala/share/proto/puller/g$b;->$isReload:Z
invoke-direct {p0}, Lsg/bigo/svcapi/RequestUICallback;-><init>()V
return-void
.end method
# virtual methods
.method public final onError(I)V
.registers 5
.line 72
invoke-super {p0, p1}, Lsg/bigo/svcapi/RequestUICallback;->onError(I)V
.line 73
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v0
const-string v1, "fetchNews onError code : "
invoke-virtual {v1, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
const-string v1, "NewsPuller"
invoke-static {v1, v0}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 74
iget-object v0, p0, Lcom/masala/share/proto/puller/g$b;->this$0:Lcom/masala/share/proto/puller/g;
iget-object v1, p0, Lcom/masala/share/proto/puller/g$b;->$l:Lcom/imo/android/imoim/feeds/c/a;
iget-boolean v2, p0, Lcom/masala/share/proto/puller/g$b;->$isReload:Z
invoke-virtual {v0, v1, p1, v2}, Lcom/masala/share/proto/puller/g;->a(Lcom/imo/android/imoim/feeds/c/a;IZ)V
return-void
.end method
.method public final onUIResponse(Lcom/masala/share/proto/protocol/ag;)V
.registers 5
.line 78
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
const-string v1, "fetchNews onResponse res : "
invoke-virtual {v1, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
const-string v1, "NewsPuller"
invoke-static {v1, v0}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
if-nez p1, :cond_12
return-void
.line 82
:cond_12
iget-object v0, p0, Lcom/masala/share/proto/puller/g$b;->this$0:Lcom/masala/share/proto/puller/g;
invoke-static {v0}, Lcom/masala/share/proto/puller/g;->a(Lcom/masala/share/proto/puller/g;)Lcom/masala/share/proto/puller/f;
move-result-object v0
.line 1018
iget-wide v1, p1, Lcom/masala/share/proto/protocol/ag;->a:J
.line 1030
iput-wide v1, v0, Lcom/masala/share/proto/puller/f;->b:J
.line 83
iget-object v0, p0, Lcom/masala/share/proto/puller/g$b;->this$0:Lcom/masala/share/proto/puller/g;
invoke-static {v0}, Lcom/masala/share/proto/puller/g;->a(Lcom/masala/share/proto/puller/g;)Lcom/masala/share/proto/puller/f;
move-result-object v0
.line 2020
iget-object v1, p1, Lcom/masala/share/proto/protocol/ag;->c:Ljava/util/List;
.line 83
move-object v2, v1
check-cast v2, Ljava/util/Collection;
invoke-interface {v2}, Ljava/util/Collection;->isEmpty()Z
move-result v2
xor-int/lit8 v2, v2, 0x1
if-eqz v2, :cond_30
goto :goto_31
:cond_30
const/4 v1, 0x0
:goto_31
if-eqz v1, :cond_3e
invoke-static {v1}, Lkotlin/a/k;->h(Ljava/util/List;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/masala/share/proto/model/SimpleVideoPost;
if-eqz v1, :cond_3e
iget-wide v1, v1, Lcom/masala/share/proto/model/SimpleVideoPost;->a:J
goto :goto_4d
:cond_3e
iget-boolean v1, p0, Lcom/masala/share/proto/puller/g$b;->$isReload:Z
if-eqz v1, :cond_45
const-wide/16 v1, 0x0
goto :goto_4d
:cond_45
iget-object v1, p0, Lcom/masala/share/proto/puller/g$b;->this$0:Lcom/masala/share/proto/puller/g;
invoke-static {v1}, Lcom/masala/share/proto/puller/g;->a(Lcom/masala/share/proto/puller/g;)Lcom/masala/share/proto/puller/f;
move-result-object v1
.line 2031
iget-wide v1, v1, Lcom/masala/share/proto/puller/f;->c:J
.line 3031
:goto_4d
iput-wide v1, v0, Lcom/masala/share/proto/puller/f;->c:J
.line 84
iget-object v0, p0, Lcom/masala/share/proto/puller/g$b;->this$0:Lcom/masala/share/proto/puller/g;
invoke-static {v0}, Lcom/masala/share/proto/puller/g;->a(Lcom/masala/share/proto/puller/g;)Lcom/masala/share/proto/puller/f;
move-result-object v0
.line 4019
iget v1, p1, Lcom/masala/share/proto/protocol/ag;->b:I
.line 4032
iput v1, v0, Lcom/masala/share/proto/puller/f;->d:I
.line 85
iget-object v0, p0, Lcom/masala/share/proto/puller/g$b;->this$0:Lcom/masala/share/proto/puller/g;
invoke-static {v0, p1}, Lcom/masala/share/proto/puller/g;->a(Lcom/masala/share/proto/puller/g;Lcom/masala/share/proto/protocol/ag;)Ljava/util/List;
move-result-object p1
.line 86
iget-object v0, p0, Lcom/masala/share/proto/puller/g$b;->this$0:Lcom/masala/share/proto/puller/g;
iget-boolean v1, p0, Lcom/masala/share/proto/puller/g$b;->$isReload:Z
invoke-virtual {v0, v1, p1}, Lcom/masala/share/proto/puller/g;->a(ZLjava/util/List;)V
.line 87
new-instance v0, Lcom/masala/share/proto/puller/g$b$a;
invoke-direct {v0, p0, p1}, Lcom/masala/share/proto/puller/g$b$a;-><init>(Lcom/masala/share/proto/puller/g$b;Ljava/util/List;)V
check-cast v0, Ljava/lang/Runnable;
invoke-static {v0}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;)V
return-void
.end method
.method public final bridge synthetic onUIResponse(Lsg/bigo/svcapi/IProtocol;)V
.registers 2
.line 69
check-cast p1, Lcom/masala/share/proto/protocol/ag;
invoke-virtual {p0, p1}, Lcom/masala/share/proto/puller/g$b;->onUIResponse(Lcom/masala/share/proto/protocol/ag;)V
return-void
.end method
.method public final onUITimeout()V
.registers 5
const-string v0, "NewsPuller"
const-string v1, "fetchNews onUITimeout"
.line 94
invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 95
iget-object v0, p0, Lcom/masala/share/proto/puller/g$b;->this$0:Lcom/masala/share/proto/puller/g;
iget-object v1, p0, Lcom/masala/share/proto/puller/g$b;->$l:Lcom/imo/android/imoim/feeds/c/a;
iget-boolean v2, p0, Lcom/masala/share/proto/puller/g$b;->$isReload:Z
const/16 v3, 0xd
invoke-virtual {v0, v1, v3, v2}, Lcom/masala/share/proto/puller/g;->a(Lcom/imo/android/imoim/feeds/c/a;IZ)V
return-void
.end method