BaseUserPostFragment$4.smali

.class final Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;
.super Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;
.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/user/profile/BaseUserPostFragment;

.field private b:Z


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)V
    .registers 2

    .line 295
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    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 5

    .line 315
    invoke-super {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;->onScrollStateChanged(Landroidx/recyclerview/widget/RecyclerView;I)V

    .line 316
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->e(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)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;

    const/4 p1, 0x0

    if-nez p2, :cond_27

    .line 318
    iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->b:Z

    if-eqz v0, :cond_24

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->getUserVisibleHint()Z

    move-result v0

    if-eqz v0, :cond_24

    .line 319
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->f(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/utils/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/masala/share/utils/b/a;->b()V

    .line 321
    :cond_24
    iput-boolean p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->b:Z

    goto :goto_36

    .line 323
    :cond_27
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->f(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/utils/b/a;

    move-result-object v0

    .line 1182
    iget-object v0, v0, 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 v1

    invoke-virtual {v1, v0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    :goto_36
    if-nez p2, :cond_4b

    .line 326
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p2}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/stat/q;

    move-result-object p2

    invoke-virtual {p2}, Lcom/masala/share/stat/q;->a()V

    .line 327
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p2}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->b(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/stat/p;

    move-result-object p2

    .line 2182
    invoke-virtual {p2, p1}, Lcom/masala/share/stat/p;->a(Z)V

    return-void

    .line 329
    :cond_4b
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->g(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/stat/q;

    move-result-object p1

    invoke-virtual {p1}, Lcom/masala/share/stat/q;->b()V

    const/4 p1, 0x1

    if-ne p2, p1, :cond_60

    .line 331
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->b(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/stat/p;

    move-result-object p1

    invoke-virtual {p1}, Lcom/masala/share/stat/p;->a()V

    :cond_60
    return-void
.end method

.method public final onScrolled(Landroidx/recyclerview/widget/RecyclerView;II)V
    .registers 4

    .line 300
    invoke-super {p0, p1, p2, p3}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;->onScrolled(Landroidx/recyclerview/widget/RecyclerView;II)V

    if-eqz p3, :cond_8

    const/4 p1, 0x1

    .line 302
    iput-boolean p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->b:Z

    .line 304
    :cond_8
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->b(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Lcom/masala/share/stat/p;

    move-result-object p1

    invoke-virtual {p1}, Lcom/masala/share/stat/p;->b()V

    .line 305
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    iget-boolean p1, p1, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->h:Z

    if-eqz p1, :cond_18

    return-void

    :cond_18
    if-lez p3, :cond_2b

    .line 308
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->c(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)Landroidx/recyclerview/widget/RecyclerView;

    move-result-object p1

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/utils/rv/a;->d(Landroidx/recyclerview/widget/RecyclerView;)Z

    move-result p1

    if-eqz p1, :cond_2b

    .line 309
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment$4;->a:Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;->d(Lcom/imo/android/imoim/feeds/ui/user/profile/BaseUserPostFragment;)V

    :cond_2b
    return-void
.end method