HotSongComp$initView$2.smali
.class public final Lcom/singbox/produce/detail/component/HotSongComp$initView$2;
.super Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/singbox/produce/detail/component/HotSongComp;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/singbox/produce/detail/component/HotSongComp;
# direct methods
.method constructor <init>(Lcom/singbox/produce/detail/component/HotSongComp;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 109
iput-object p1, p0, Lcom/singbox/produce/detail/component/HotSongComp$initView$2;->a:Lcom/singbox/produce/detail/component/HotSongComp;
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 111
iget-object p1, p0, Lcom/singbox/produce/detail/component/HotSongComp$initView$2;->a:Lcom/singbox/produce/detail/component/HotSongComp;
invoke-static {p1}, Lcom/singbox/produce/detail/component/HotSongComp;->h(Lcom/singbox/produce/detail/component/HotSongComp;)I
move-result p1
if-le p3, p1, :cond_2c
iget-object p1, p0, Lcom/singbox/produce/detail/component/HotSongComp$initView$2;->a:Lcom/singbox/produce/detail/component/HotSongComp;
invoke-static {p1}, Lcom/singbox/produce/detail/component/HotSongComp;->i(Lcom/singbox/produce/detail/component/HotSongComp;)Lcom/singbox/produce/detail/viewmodel/DetailViewModel;
move-result-object p1
.line 1031
iget-boolean p1, p1, Lcom/singbox/produce/detail/viewmodel/DetailViewModel;->b:Z
if-nez p1, :cond_2c
.line 111
iget-object p1, p0, Lcom/singbox/produce/detail/component/HotSongComp$initView$2;->a:Lcom/singbox/produce/detail/component/HotSongComp;
invoke-static {p1}, Lcom/singbox/produce/detail/component/HotSongComp;->f(Lcom/singbox/produce/detail/component/HotSongComp;)Landroidx/recyclerview/widget/RecyclerView;
move-result-object p1
invoke-static {p1}, Lcom/singbox/util/u;->b(Landroidx/recyclerview/widget/RecyclerView;)Z
move-result p1
if-eqz p1, :cond_2c
.line 112
iget-object p1, p0, Lcom/singbox/produce/detail/component/HotSongComp$initView$2;->a:Lcom/singbox/produce/detail/component/HotSongComp;
invoke-static {p1}, Lcom/singbox/produce/detail/component/HotSongComp;->i(Lcom/singbox/produce/detail/component/HotSongComp;)Lcom/singbox/produce/detail/viewmodel/DetailViewModel;
move-result-object p1
invoke-virtual {p1}, Lcom/singbox/produce/detail/viewmodel/DetailViewModel;->b()V
:cond_2c
return-void
.end method