apkfuckery/com.discord/smali/androidx/recyclerview/widget/SnapHelper$1.smali

78 lines
2 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class Landroidx/recyclerview/widget/SnapHelper$1;
.super Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
2019-02-04 20:29:01 +00:00
.source "SnapHelper.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/recyclerview/widget/SnapHelper;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field mScrolled:Z
.field final synthetic this$0:Landroidx/recyclerview/widget/SnapHelper;
# direct methods
.method constructor <init>(Landroidx/recyclerview/widget/SnapHelper;)V
.locals 0
iput-object p1, p0, Landroidx/recyclerview/widget/SnapHelper$1;->this$0:Landroidx/recyclerview/widget/SnapHelper;
invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;-><init>()V
const/4 p1, 0x0
iput-boolean p1, p0, Landroidx/recyclerview/widget/SnapHelper$1;->mScrolled:Z
return-void
.end method
# virtual methods
.method public onScrollStateChanged(Landroidx/recyclerview/widget/RecyclerView;I)V
.locals 0
invoke-super {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;->onScrollStateChanged(Landroidx/recyclerview/widget/RecyclerView;I)V
if-nez p2, :cond_0
iget-boolean p1, p0, Landroidx/recyclerview/widget/SnapHelper$1;->mScrolled:Z
if-eqz p1, :cond_0
const/4 p1, 0x0
iput-boolean p1, p0, Landroidx/recyclerview/widget/SnapHelper$1;->mScrolled:Z
iget-object p1, p0, Landroidx/recyclerview/widget/SnapHelper$1;->this$0:Landroidx/recyclerview/widget/SnapHelper;
invoke-virtual {p1}, Landroidx/recyclerview/widget/SnapHelper;->snapToTargetExistingView()V
:cond_0
return-void
.end method
.method public onScrolled(Landroidx/recyclerview/widget/RecyclerView;II)V
.locals 0
if-nez p2, :cond_0
if-eqz p3, :cond_1
:cond_0
const/4 p1, 0x1
iput-boolean p1, p0, Landroidx/recyclerview/widget/SnapHelper$1;->mScrolled:Z
:cond_1
return-void
.end method