mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
68 lines
1.9 KiB
Smali
68 lines
1.9 KiB
Smali
.class public final Landroidx/viewpager2/adapter/FragmentViewHolder;
|
|
.super Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
.source "FragmentViewHolder.java"
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>(Landroid/widget/FrameLayout;)V
|
|
.locals 0
|
|
|
|
.line 33
|
|
invoke-direct {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;-><init>(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static create(Landroid/view/ViewGroup;)Landroidx/viewpager2/adapter/FragmentViewHolder;
|
|
.locals 2
|
|
|
|
.line 37
|
|
new-instance v0, Landroid/widget/FrameLayout;
|
|
|
|
invoke-virtual {p0}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {v0, p0}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V
|
|
|
|
.line 38
|
|
new-instance p0, Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
const/4 v1, -0x1
|
|
|
|
invoke-direct {p0, v1, v1}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V
|
|
|
|
invoke-virtual {v0, p0}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
.line 41
|
|
invoke-static {}, Landroidx/core/view/ViewCompat;->generateViewId()I
|
|
|
|
move-result p0
|
|
|
|
invoke-virtual {v0, p0}, Landroid/widget/FrameLayout;->setId(I)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
.line 42
|
|
invoke-virtual {v0, p0}, Landroid/widget/FrameLayout;->setSaveEnabled(Z)V
|
|
|
|
.line 43
|
|
new-instance p0, Landroidx/viewpager2/adapter/FragmentViewHolder;
|
|
|
|
invoke-direct {p0, v0}, Landroidx/viewpager2/adapter/FragmentViewHolder;-><init>(Landroid/widget/FrameLayout;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method getContainer()Landroid/widget/FrameLayout;
|
|
.locals 0
|
|
|
|
.line 47
|
|
iget-object p0, p0, Landroidx/viewpager2/adapter/FragmentViewHolder;->itemView:Landroid/view/View;
|
|
|
|
check-cast p0, Landroid/widget/FrameLayout;
|
|
|
|
return-object p0
|
|
.end method
|