SearchResultFragment$initRecyclerView$$inlined$apply$lambda$4.smali

.class public final Lcom/singbox/party/search/SearchResultFragment$initRecyclerView$$inlined$apply$lambda$4;
.super Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/singbox/party/search/SearchResultFragment;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/singbox/party/databinding/PartyFragmentSongBinding;

.field final synthetic b:Lcom/singbox/party/search/SearchResultFragment;


# direct methods
.method constructor <init>(Lcom/singbox/party/databinding/PartyFragmentSongBinding;Lcom/singbox/party/search/SearchResultFragment;)V
    .registers 3

    iput-object p1, p0, Lcom/singbox/party/search/SearchResultFragment$initRecyclerView$$inlined$apply$lambda$4;->a:Lcom/singbox/party/databinding/PartyFragmentSongBinding;

    iput-object p2, p0, Lcom/singbox/party/search/SearchResultFragment$initRecyclerView$$inlined$apply$lambda$4;->b:Lcom/singbox/party/search/SearchResultFragment;

    .line 189
    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 4

    const-string p2, "recyclerView"

    invoke-static {p1, p2}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 191
    iget-object p1, p0, Lcom/singbox/party/search/SearchResultFragment$initRecyclerView$$inlined$apply$lambda$4;->b:Lcom/singbox/party/search/SearchResultFragment;

    invoke-static {p1}, Lcom/singbox/party/search/SearchResultFragment;->g(Lcom/singbox/party/search/SearchResultFragment;)I

    move-result p1

    if-le p3, p1, :cond_2a

    iget-object p1, p0, Lcom/singbox/party/search/SearchResultFragment$initRecyclerView$$inlined$apply$lambda$4;->b:Lcom/singbox/party/search/SearchResultFragment;

    invoke-static {p1}, Lcom/singbox/party/search/SearchResultFragment;->b(Lcom/singbox/party/search/SearchResultFragment;)Lcom/singbox/party/songtab/viewmodels/SongViewModel;

    move-result-object p1

    .line 1057
    iget-boolean p1, p1, Lcom/singbox/party/songtab/viewmodels/SongViewModel;->e:Z

    if-nez p1, :cond_2a

    .line 191
    iget-object p1, p0, Lcom/singbox/party/search/SearchResultFragment$initRecyclerView$$inlined$apply$lambda$4;->a:Lcom/singbox/party/databinding/PartyFragmentSongBinding;

    iget-object p1, p1, Lcom/singbox/party/databinding/PartyFragmentSongBinding;->d:Landroidx/recyclerview/widget/RecyclerView;

    invoke-static {p1}, Lcom/singbox/util/u;->b(Landroidx/recyclerview/widget/RecyclerView;)Z

    move-result p1

    if-eqz p1, :cond_2a

    .line 193
    iget-object p1, p0, Lcom/singbox/party/search/SearchResultFragment$initRecyclerView$$inlined$apply$lambda$4;->b:Lcom/singbox/party/search/SearchResultFragment;

    invoke-static {p1}, Lcom/singbox/party/search/SearchResultFragment;->b(Lcom/singbox/party/search/SearchResultFragment;)Lcom/singbox/party/songtab/viewmodels/SongViewModel;

    move-result-object p1

    invoke-virtual {p1}, Lcom/singbox/party/songtab/viewmodels/SongViewModel;->b()V

    :cond_2a
    return-void
.end method