2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/widgets/nux/WidgetNavigationHelp$NuxPagerAdapter;
|
|
|
|
.super Landroidx/viewpager2/adapter/FragmentStateAdapter;
|
|
|
|
.source "WidgetNavigationHelp.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/widgets/nux/WidgetNavigationHelp;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "NuxPagerAdapter"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Landroidx/fragment/app/Fragment;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "fragment"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-11-09 00:01:03 +00:00
|
|
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Landroidx/viewpager2/adapter/FragmentStateAdapter;-><init>(Landroidx/fragment/app/Fragment;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public createFragment(I)Landroidx/fragment/app/Fragment;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Landroid/os/Bundle;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
|
|
|
|
|
|
|
|
const-string v1, "com.discord.intent.extra.EXTRA_SCREEN"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
|
|
|
|
new-instance p1, Lcom/discord/widgets/nux/WidgetNavigationHelp$NuxPageFragment;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lcom/discord/widgets/nux/WidgetNavigationHelp$NuxPageFragment;-><init>()V
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/fragment/app/Fragment;->setArguments(Landroid/os/Bundle;)V
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getItemCount()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x3
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|