apkfuckery/com.discord/smali/androidx/viewpager2/widget/ViewPager2$SmoothScrollToPosition.smali

52 lines
1.4 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public Landroidx/viewpager2/widget/ViewPager2$SmoothScrollToPosition;
.super Ljava/lang/Object;
.source "ViewPager2.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/viewpager2/widget/ViewPager2;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "SmoothScrollToPosition"
.end annotation
# instance fields
2020-11-21 22:11:07 +00:00
.field private final mPosition:I
2020-11-12 02:11:44 +00:00
2020-11-21 22:11:07 +00:00
.field private final mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
2020-11-12 02:11:44 +00:00
# direct methods
.method public constructor <init>(ILandroidx/recyclerview/widget/RecyclerView;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Landroidx/viewpager2/widget/ViewPager2$SmoothScrollToPosition;->mPosition:I
iput-object p2, p0, Landroidx/viewpager2/widget/ViewPager2$SmoothScrollToPosition;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Landroidx/viewpager2/widget/ViewPager2$SmoothScrollToPosition;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
iget v1, p0, Landroidx/viewpager2/widget/ViewPager2$SmoothScrollToPosition;->mPosition:I
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->smoothScrollToPosition(I)V
return-void
.end method