Rabbit-R1/original r1/smali/smali_classes2/androidx/viewpager2/widget/ViewPager2$SmoothScrollToPosition.smali
2024-05-21 17:08:36 -04:00

53 lines
1.4 KiB
Smali

.class 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 = 0xa
name = "SmoothScrollToPosition"
.end annotation
# instance fields
.field private final mPosition:I
.field private final mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
# direct methods
.method constructor <init>(ILandroidx/recyclerview/widget/RecyclerView;)V
.locals 0
.line 1077
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 1
iget-object v0, p0, Landroidx/viewpager2/widget/ViewPager2$SmoothScrollToPosition;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
iget p0, p0, Landroidx/viewpager2/widget/ViewPager2$SmoothScrollToPosition;->mPosition:I
.line 1084
invoke-virtual {v0, p0}, Landroidx/recyclerview/widget/RecyclerView;->smoothScrollToPosition(I)V
return-void
.end method