apkfuckery/com.discord/smali/com/discord/widgets/chat/list/WidgetChatListAdapter$HandlerOfScrolls.smali

101 lines
3.3 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Lcom/discord/widgets/chat/list/WidgetChatListAdapter$HandlerOfScrolls;
2019-07-24 11:27:29 +00:00
.super Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
.source "WidgetChatListAdapter.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/chat/list/WidgetChatListAdapter;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x11
2019-07-24 11:27:29 +00:00
name = "HandlerOfScrolls"
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public channelId:J
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public scrollState:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Lcom/discord/widgets/chat/list/WidgetChatListAdapter;
2019-07-24 11:27:29 +00:00
# direct methods
.method public constructor <init>(Lcom/discord/widgets/chat/list/WidgetChatListAdapter;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapter$HandlerOfScrolls;->this$0:Lcom/discord/widgets/chat/list/WidgetChatListAdapter;
invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;-><init>()V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public onScrollStateChanged(Landroidx/recyclerview/widget/RecyclerView;I)V
2019-07-24 11:27:29 +00:00
.locals 4
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_2
2019-07-24 11:27:29 +00:00
invoke-super {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;->onScrollStateChanged(Landroidx/recyclerview/widget/RecyclerView;I)V
iget p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapter$HandlerOfScrolls;->scrollState:I
if-ne p1, p2, :cond_0
iget-object p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapter$HandlerOfScrolls;->this$0:Lcom/discord/widgets/chat/list/WidgetChatListAdapter;
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListAdapter;->getData()Lcom/discord/widgets/chat/list/WidgetChatListAdapter$Data;
move-result-object p1
invoke-interface {p1}, Lcom/discord/widgets/chat/list/WidgetChatListAdapter$Data;->getChannelId()J
move-result-wide v0
iget-wide v2, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapter$HandlerOfScrolls;->channelId:J
cmp-long p1, v0, v2
if-eqz p1, :cond_1
:cond_0
iput p2, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapter$HandlerOfScrolls;->scrollState:I
iget-object p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapter$HandlerOfScrolls;->this$0:Lcom/discord/widgets/chat/list/WidgetChatListAdapter;
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListAdapter;->getData()Lcom/discord/widgets/chat/list/WidgetChatListAdapter$Data;
move-result-object p1
invoke-interface {p1}, Lcom/discord/widgets/chat/list/WidgetChatListAdapter$Data;->getChannelId()J
move-result-wide p1
iput-wide p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapter$HandlerOfScrolls;->channelId:J
iget-object p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapter$HandlerOfScrolls;->this$0:Lcom/discord/widgets/chat/list/WidgetChatListAdapter;
invoke-static {p1}, Lcom/discord/widgets/chat/list/WidgetChatListAdapter;->access$publishInteractionState(Lcom/discord/widgets/chat/list/WidgetChatListAdapter;)V
:cond_1
return-void
2019-12-06 03:29:40 +00:00
:cond_2
const-string p1, "recyclerView"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
2019-07-24 11:27:29 +00:00
.end method