59 lines
1.7 KiB
Smali
59 lines
1.7 KiB
Smali
.class public 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 = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Landroidx/viewpager2/widget/ViewPager2;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/viewpager2/widget/ViewPager2;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Landroidx/viewpager2/widget/ViewPager2$3;->this$0:Landroidx/viewpager2/widget/ViewPager2;
|
|
|
|
invoke-direct {p0}, Landroidx/viewpager2/widget/ViewPager2$OnPageChangeCallback;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onPageSelected(I)V
|
|
.locals 1
|
|
|
|
iget-object p1, p0, Landroidx/viewpager2/widget/ViewPager2$3;->this$0:Landroidx/viewpager2/widget/ViewPager2;
|
|
|
|
invoke-virtual {p1}, Landroid/view/ViewGroup;->clearFocus()V
|
|
|
|
iget-object p1, p0, Landroidx/viewpager2/widget/ViewPager2$3;->this$0:Landroidx/viewpager2/widget/ViewPager2;
|
|
|
|
invoke-virtual {p1}, Landroid/view/ViewGroup;->hasFocus()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object p1, p0, Landroidx/viewpager2/widget/ViewPager2$3;->this$0:Landroidx/viewpager2/widget/ViewPager2;
|
|
|
|
iget-object p1, p1, Landroidx/viewpager2/widget/ViewPager2;->mRecyclerView:Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
const/4 v0, 0x2
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->requestFocus(I)Z
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|