2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/widgets/chat/list/WidgetChatListAdapter$HandlerOfScrolls;
|
|
|
|
.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;
|
|
|
|
accessFlags = 0x11
|
|
|
|
name = "HandlerOfScrolls"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public channelId:J
|
|
|
|
|
|
|
|
.field public scrollState:I
|
|
|
|
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/chat/list/WidgetChatListAdapter;
|
|
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
.method public onScrollStateChanged(Landroidx/recyclerview/widget/RecyclerView;I)V
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p1, "recyclerView"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|