Package-level declarations
Types
Link copied to clipboard
class SettingsViewModel(settingsProvider: SettingsProvider, telemetryRepository: TelemetryRepository) : LoggedScreenViewModel<SettingsUiState, SettingsEvent>
Loads the host's settings for the settings list.
Functions
Link copied to clipboard
fun SettingsList(paddingValues: PaddingValues, settingsConfig: SettingsConfig, onPreferenceClick: (SettingsPreference) -> Unit = {}, query: String = "", onQueryChange: (String) -> Unit? = null, results: List<SettingsPreference>? = null)
The settings rows, grouped by category.
Link copied to clipboard
Host-supplied settings categories with search and navigation. A row's external action gets first chance to handle a click; otherwise its destination opens, beside the list on wide windows or over it on phones.