apkfuckery/com.discord/smali/com/discord/widgets/servers/WidgetServerSettingsChannelsSortActions.smali
2020-03-19 23:21:18 +01:00

349 lines
11 KiB
Smali

.class public final Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;
.super Lcom/discord/app/AppBottomSheet;
.source "WidgetServerSettingsChannelsSortActions.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions$Companion;
}
.end annotation
# static fields
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
.field public static final Companion:Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions$Companion;
# instance fields
.field public final categories$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public sortTypeSelectedListener:Lkotlin/jvm/functions/Function1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Integer;",
"Lkotlin/Unit;",
">;"
}
.end annotation
.end field
.field public final textChannel$delegate:Lkotlin/properties/ReadOnlyProperty;
.field public final voiceChannel$delegate:Lkotlin/properties/ReadOnlyProperty;
# direct methods
.method public static constructor <clinit>()V
.locals 6
const/4 v0, 0x3
new-array v0, v0, [Lkotlin/reflect/KProperty;
new-instance v1, Lw/u/b/u;
const-class v2, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;
invoke-static {v2}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b;
move-result-object v2
const-string v3, "categories"
const-string v4, "getCategories()Landroid/view/View;"
invoke-direct {v1, v2, v3, v4}, Lw/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
sget-object v2, Lw/u/b/w;->a:Lw/u/b/x;
invoke-virtual {v2, v1}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d;
const/4 v2, 0x0
aput-object v1, v0, v2
const/4 v1, 0x1
new-instance v2, Lw/u/b/u;
const-class v3, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;
invoke-static {v3}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b;
move-result-object v3
const-string v4, "voiceChannel"
const-string v5, "getVoiceChannel()Landroid/view/View;"
invoke-direct {v2, v3, v4, v5}, Lw/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
sget-object v3, Lw/u/b/w;->a:Lw/u/b/x;
invoke-virtual {v3, v2}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d;
aput-object v2, v0, v1
const/4 v1, 0x2
new-instance v2, Lw/u/b/u;
const-class v3, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;
invoke-static {v3}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b;
move-result-object v3
const-string v4, "textChannel"
const-string v5, "getTextChannel()Landroid/view/View;"
invoke-direct {v2, v3, v4, v5}, Lw/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
sget-object v3, Lw/u/b/w;->a:Lw/u/b/x;
invoke-virtual {v3, v2}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d;
aput-object v2, v0, v1
sput-object v0, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
new-instance v0, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->Companion:Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions$Companion;
return-void
.end method
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Lcom/discord/app/AppBottomSheet;-><init>()V
const v0, 0x7f0a06ff
invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->categories$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0701
invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->voiceChannel$delegate:Lkotlin/properties/ReadOnlyProperty;
const v0, 0x7f0a0700
invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object v0
iput-object v0, p0, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->textChannel$delegate:Lkotlin/properties/ReadOnlyProperty;
return-void
.end method
.method private final configureUI()V
.locals 2
invoke-direct {p0}, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->getCategories()Landroid/view/View;
move-result-object v0
new-instance v1, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions$configureUI$1;
invoke-direct {v1, p0}, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions$configureUI$1;-><init>(Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;)V
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
invoke-direct {p0}, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->getVoiceChannel()Landroid/view/View;
move-result-object v0
new-instance v1, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions$configureUI$2;
invoke-direct {v1, p0}, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions$configureUI$2;-><init>(Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;)V
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
invoke-direct {p0}, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->getTextChannel()Landroid/view/View;
move-result-object v0
new-instance v1, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions$configureUI$3;
invoke-direct {v1, p0}, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions$configureUI$3;-><init>(Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;)V
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
return-void
.end method
.method private final getCategories()Landroid/view/View;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->categories$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x0
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/View;
return-object v0
.end method
.method private final getTextChannel()Landroid/view/View;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->textChannel$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x2
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/View;
return-object v0
.end method
.method private final getVoiceChannel()Landroid/view/View;
.locals 3
iget-object v0, p0, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->voiceChannel$delegate:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
const/4 v2, 0x1
aget-object v1, v1, v2
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/View;
return-object v0
.end method
.method public static final show(Landroidx/fragment/app/FragmentManager;Lrx/functions/Action1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/fragment/app/FragmentManager;",
"Lrx/functions/Action1<",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
sget-object v0, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->Companion:Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions$Companion;
invoke-virtual {v0, p0, p1}, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions$Companion;->show(Landroidx/fragment/app/FragmentManager;Lrx/functions/Action1;)V
return-void
.end method
# virtual methods
.method public getContentViewResId()I
.locals 1
const v0, 0x7f0d01ff
return v0
.end method
.method public final getSortTypeSelectedListener()Lkotlin/jvm/functions/Function1;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Integer;",
"Lkotlin/Unit;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->sortTypeSelectedListener:Lkotlin/jvm/functions/Function1;
return-object v0
.end method
.method public onPause()V
.locals 0
invoke-super {p0}, Lcom/discord/app/AppBottomSheet;->onPause()V
invoke-virtual {p0}, Lcom/discord/app/AppBottomSheet;->dismiss()V
return-void
.end method
.method public onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
.locals 0
if-eqz p1, :cond_0
invoke-super {p0, p1, p2}, Lcom/discord/app/AppBottomSheet;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
invoke-direct {p0}, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->configureUI()V
return-void
:cond_0
const-string p1, "view"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final setSortTypeSelectedListener(Lkotlin/jvm/functions/Function1;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Integer;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
iput-object p1, p0, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions;->sortTypeSelectedListener:Lkotlin/jvm/functions/Function1;
return-void
.end method