FollowFragment$6.smali
.class final Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;
.super Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->b(Landroid/os/Bundle;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)V
.registers 2
.line 470
iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;-><init>()V
return-void
.end method
# virtual methods
.method public final onScrollStateChanged(Landroidx/recyclerview/widget/RecyclerView;I)V
.registers 15
.line 473
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->z(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)Lcom/masala/share/utils/b/f;
move-result-object p1
const/4 v0, 0x0
.line 1072
iput-object v0, p1, Lcom/masala/share/utils/b/f;->e:Ljava/util/List;
if-nez p2, :cond_f6
.line 475
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
.line 1139
iget-boolean p1, p1, Lcom/imo/android/imoim/feeds/ui/home/base/BaseTabFragment;->e:Z
if-eqz p1, :cond_1b
.line 476
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->A(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)Lcom/masala/share/utils/b/a;
move-result-object p1
invoke-virtual {p1}, Lcom/masala/share/utils/b/a;->b()V
goto :goto_2a
.line 478
:cond_1b
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->A(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)Lcom/masala/share/utils/b/a;
move-result-object p1
.line 1182
iget-object p1, p1, Lcom/masala/share/utils/b/a;->a:Ljava/lang/Runnable;
.line 2042
invoke-static {}, Lsg/bigo/common/ac$a;->a()Landroid/os/Handler;
move-result-object p2
invoke-virtual {p2, p1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
.line 480
:goto_2a
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->r(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
move-result-object p1
if-eqz p1, :cond_f6
.line 481
sget-object p1, Lcom/masala/share/stat/h;->g:Lcom/masala/share/stat/h;
iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {p2}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->r(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
move-result-object p2
.line 2046
iget-byte p2, p2, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;->g:B
.line 481
iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {v1}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->r(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;
move-result-object v1
invoke-virtual {v1}, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;->b()I
move-result v1
.line 2167
sget-object v2, Lcom/masala/share/stat/h;->c:Ljava/util/LinkedHashSet;
check-cast v2, Ljava/util/Collection;
const/4 v3, 0x0
const/4 v4, 0x1
if-eqz v2, :cond_57
invoke-interface {v2}, Ljava/util/Collection;->isEmpty()Z
move-result v2
if-eqz v2, :cond_55
goto :goto_57
:cond_55
const/4 v2, 0x0
goto :goto_58
:cond_57
:goto_57
const/4 v2, 0x1
:goto_58
if-nez v2, :cond_da
.line 2168
new-instance v2, Ljava/util/ArrayList;
sget-object v5, Lcom/masala/share/stat/h;->c:Ljava/util/LinkedHashSet;
check-cast v5, Ljava/util/Collection;
invoke-direct {v2, v5}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
.line 2169
new-instance v5, Ljava/lang/StringBuilder;
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
.line 2170
new-instance v6, Ljava/lang/StringBuilder;
invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V
.line 2171
move-object v7, v2
check-cast v7, Ljava/util/Collection;
invoke-interface {v7}, Ljava/util/Collection;->size()I
move-result v7
const/4 v8, 0x0
:goto_75
if-ge v8, v7, :cond_99
.line 2172
invoke-virtual {v2, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v9
check-cast v9, Lcom/masala/share/proto/model/VideoCommentItem;
.line 2173
iget-wide v10, v9, Lcom/masala/share/proto/model/VideoCommentItem;->commentId:J
invoke-virtual {v5, v10, v11}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
.line 2174
iget-wide v9, v9, Lcom/masala/share/proto/model/VideoCommentItem;->uid:J
invoke-virtual {v6, v9, v10}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
.line 2175
invoke-virtual {v2}, Ljava/util/ArrayList;->size()I
move-result v9
sub-int/2addr v9, v4
if-eq v8, v9, :cond_96
const-string v9, ","
.line 2176
invoke-virtual {v5, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 2177
invoke-virtual {v6, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_96
add-int/lit8 v8, v8, 0x1
goto :goto_75
:cond_99
const/4 v2, 0x2
.line 2181
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
const-string v7, "action"
invoke-virtual {p1, v7, v2}, Lcom/masala/share/stat/h;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object p1
check-cast p1, Lcom/masala/share/stat/h;
.line 2182
sget v2, Lcom/masala/share/stat/h;->a:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
const-string v7, "source"
invoke-virtual {p1, v7, v2}, Lcom/masala/share/stat/h;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object p1
check-cast p1, Lcom/masala/share/stat/h;
const-string v2, "product_uid"
.line 2183
invoke-virtual {p1, v2, v6}, Lcom/masala/share/stat/h;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object p1
check-cast p1, Lcom/masala/share/stat/h;
const-string v2, "comment_id"
.line 2184
invoke-virtual {p1, v2, v5}, Lcom/masala/share/stat/h;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object p1
check-cast p1, Lcom/masala/share/stat/h;
.line 2185
sget v2, Lcom/masala/share/stat/h;->f:I
invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v2
const-string v5, "post_position"
invoke-virtual {p1, v5, v2}, Lcom/masala/share/stat/h;->with(Ljava/lang/String;Ljava/lang/Object;)Lcom/masala/share/stat/LikeBaseReporter;
move-result-object p1
check-cast p1, Lcom/masala/share/stat/h;
.line 2186
invoke-virtual {p1}, Lcom/masala/share/stat/h;->reportN()V
.line 2188
sget-object p1, Lcom/masala/share/stat/h;->c:Ljava/util/LinkedHashSet;
invoke-virtual {p1}, Ljava/util/LinkedHashSet;->clear()V
.line 2191
:cond_da
sget-object p1, Lcom/masala/share/stat/h;->d:Ljava/lang/String;
check-cast p1, Ljava/lang/CharSequence;
if-eqz p1, :cond_e6
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
move-result p1
if-nez p1, :cond_e7
:cond_e6
const/4 v3, 0x1
:cond_e7
if-nez v3, :cond_f6
.line 2192
sget-object p1, Lcom/masala/share/stat/h;->e:Lcom/masala/share/stat/t;
sget-object v2, Lcom/masala/share/stat/h;->d:Ljava/lang/String;
if-eqz p1, :cond_f4
if-eqz v2, :cond_f4
.line 2193
invoke-virtual {p1, v2, p2, v1}, Lcom/masala/share/stat/t;->a(Ljava/lang/String;BI)V
.line 2195
:cond_f4
sput-object v0, Lcom/masala/share/stat/h;->d:Ljava/lang/String;
:cond_f6
return-void
.end method
.method public final onScrolled(Landroidx/recyclerview/widget/RecyclerView;II)V
.registers 4
.line 488
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->B(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)Lsg/bigo/core/mvp/presenter/a;
move-result-object p1
check-cast p1, Lcom/imo/android/imoim/feeds/ui/home/follow/c;
invoke-virtual {p1}, Lcom/imo/android/imoim/feeds/ui/home/follow/c;->f()Z
move-result p1
if-nez p1, :cond_2a
.line 489
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->C(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)I
move-result p1
if-le p3, p1, :cond_2a
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->D(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)Z
move-result p1
if-eqz p1, :cond_2a
.line 490
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->E(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)Lsg/bigo/core/mvp/presenter/a;
move-result-object p1
check-cast p1, Lcom/imo/android/imoim/feeds/ui/home/follow/c;
const/4 p2, 0x0
invoke-virtual {p1, p2}, Lcom/imo/android/imoim/feeds/ui/home/follow/c;->a(Z)V
:cond_2a
if-lez p3, :cond_32
.line 495
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->F(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)V
goto :goto_39
:cond_32
if-gez p3, :cond_39
.line 497
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->G(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)V
.line 501
:cond_39
:goto_39
sget-object p1, Lcom/masala/share/stat/h;->g:Lcom/masala/share/stat/h;
iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->H(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)Landroidx/recyclerview/widget/RecyclerView;
move-result-object p1
iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {p2}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->I(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;
move-result-object p2
iget-object p3, p0, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment$6;->a:Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;
invoke-static {p3}, Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;->J(Lcom/imo/android/imoim/feeds/ui/home/follow/FollowFragment;)Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
move-result-object p3
check-cast p3, Landroidx/recyclerview/widget/LinearLayoutManager;
invoke-static {p1, p2, p3}, Lcom/masala/share/stat/h;->a(Landroidx/recyclerview/widget/RecyclerView;Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;Landroidx/recyclerview/widget/LinearLayoutManager;)V
return-void
.end method