.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 ()V .locals 5 const/4 v0, 0x3 new-array v0, v0, [Lkotlin/reflect/KProperty; const-class v1, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions; const-string v2, "categories" const-string v3, "getCategories()Landroid/view/View;" const/4 v4, 0x0 invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r; move-result-object v1 aput-object v1, v0, v4 const-class v1, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions; const-string v2, "voiceChannel" const-string v3, "getVoiceChannel()Landroid/view/View;" invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r; move-result-object v1 const/4 v2, 0x1 aput-object v1, v0, v2 const-class v1, Lcom/discord/widgets/servers/WidgetServerSettingsChannelsSortActions; const-string v2, "textChannel" const-string v3, "getTextChannel()Landroid/view/View;" invoke-static {v1, v2, v3, v4}, Lf/e/b/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lk0/n/c/r; move-result-object v1 const/4 v2, 0x2 aput-object v1, v0, v2 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;->(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 ()V .locals 1 invoke-direct {p0}, Lcom/discord/app/AppBottomSheet;->()V const v0, 0x7f0a0835 invoke-static {p0, v0}, Lk0/j/a;->h(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, 0x7f0a0837 invoke-static {p0, v0}, Lk0/j/a;->h(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, 0x7f0a0836 invoke-static {p0, v0}, Lk0/j/a;->h(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;->(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;->(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;->(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, 0x7f0d024d 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 1 const-string v0, "view" invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V 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 .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