NewUserFollowFragment$7.smali

.class final Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment$7;
.super Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
.source "SourceFile"


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


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

    .line 366
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;

    invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;-><init>()V

    return-void
.end method


# virtual methods
.method public final onScrolled(Landroidx/recyclerview/widget/RecyclerView;II)V
    .registers 5

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

    .line 370
    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager;

    move-result-object p1

    check-cast p1, Landroidx/recyclerview/widget/LinearLayoutManager;

    invoke-virtual {p1}, Landroidx/recyclerview/widget/LinearLayoutManager;->findLastVisibleItemPosition()I

    move-result p1

    .line 372
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;

    invoke-static {p2}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;->h(Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;)Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;

    move-result-object p2

    .line 1460
    iget-boolean p2, p2, Lcom/imo/android/imoim/feeds/ui/views/refresh/MaterialRefreshLayout;->f:Z

    if-eqz p2, :cond_43

    .line 372
    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;

    invoke-static {p2}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;->c(Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;)Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;

    move-result-object p2

    invoke-virtual {p2}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;->getItemCount()I

    move-result p2

    sub-int/2addr p2, p1

    const/16 p1, 0x14

    if-gt p2, p1, :cond_43

    .line 373
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;->l(Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;)Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;

    move-result-object p1

    iget-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;

    invoke-static {p2}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;->i(Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;)B

    move-result p2

    iget-object p3, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;

    invoke-static {p3}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;->n(Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;)Lcom/imo/android/imoim/feeds/ui/user/newfollow/FollowMergeBundle;

    move-result-object p3

    .line 2030
    iget p3, p3, Lcom/imo/android/imoim/feeds/ui/user/newfollow/FollowMergeBundle;->a:I

    .line 373
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment$7;->a:Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;->d(Lcom/imo/android/imoim/feeds/ui/user/newfollow/NewUserFollowFragment;)Ljava/util/List;

    move-result-object v0

    invoke-virtual {p1, p2, p3, v0}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->a(BILjava/util/List;)V

    :cond_43
    return-void
.end method