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

63 lines
1.8 KiB
Smali

.class Landroidx/viewpager2/widget/ViewPager2$3;
.super Landroidx/viewpager2/widget/ViewPager2$OnPageChangeCallback;
.source "ViewPager2.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/viewpager2/widget/ViewPager2;->initialize(Landroid/content/Context;Landroid/util/AttributeSet;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Landroidx/viewpager2/widget/ViewPager2;
# direct methods
.method constructor <init>(Landroidx/viewpager2/widget/ViewPager2;)V
.locals 0
iput-object p1, p0, Landroidx/viewpager2/widget/ViewPager2$3;->this$0:Landroidx/viewpager2/widget/ViewPager2;
.line 237
invoke-direct {p0}, Landroidx/viewpager2/widget/ViewPager2$OnPageChangeCallback;-><init>()V
return-void
.end method
# virtual methods
.method public onPageSelected(I)V
.locals 0
iget-object p1, p0, Landroidx/viewpager2/widget/ViewPager2$3;->this$0:Landroidx/viewpager2/widget/ViewPager2;
.line 240
invoke-virtual {p1}, Landroidx/viewpager2/widget/ViewPager2;->clearFocus()V
iget-object p1, p0, Landroidx/viewpager2/widget/ViewPager2$3;->this$0:Landroidx/viewpager2/widget/ViewPager2;
.line 241
invoke-virtual {p1}, Landroidx/viewpager2/widget/ViewPager2;->hasFocus()Z
move-result p1
if-eqz p1, :cond_0
iget-object p0, p0, Landroidx/viewpager2/widget/ViewPager2$3;->this$0:Landroidx/viewpager2/widget/ViewPager2;
.line 242
iget-object p0, p0, Landroidx/viewpager2/widget/ViewPager2;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
const/4 p1, 0x2
invoke-virtual {p0, p1}, Landroidx/recyclerview/widget/RecyclerView;->requestFocus(I)Z
:cond_0
return-void
.end method