SettingsDialog

Settings dialog class that hosts the SettingsView

Constructors

Link copied to clipboard
constructor()
constructor(listener: SettingsDialogListener, options: ERROR CLASS: Symbol not found for 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 onResume()

Called when the dialog is resumed. Sets up the back button listener to save settings when the user navigates back if changes have been made.

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.