SettingsDialog

Settings dialog class that presents the settings as a modal bottom sheet.

Constructors

Link copied to clipboard
constructor()
constructor(listener: SettingsDialogListener, options: SettingsOptions)

Types

Link copied to clipboard
object Companion

Companion object containing constants and factory methods for SettingsDialog.

Functions

Link copied to clipboard
open override fun onCreateDialog(savedInstanceState: Bundle?): Dialog

Restores state the instance if necessary and sets the general style for the dialog.

Link copied to clipboard
open override fun onSaveInstanceState(outState: Bundle)

Stores the current instance state.

Link copied to clipboard
open override fun onStart()

Called when the dialog is starting. Configures the dialog window dimensions and positioning based on device screen size.

Link copied to clipboard
open override fun setupDialog(dialog: Dialog, style: Int)

Called to configure the dialog. Sets up the Compose-based settings view content.

Link copied to clipboard

Assigns a new SettingsDialogListener to the dialog.