SettingList

data class SettingList(val title: String, val key: String, val summary: String? = null, val entryTitles: List<String>, val entryValues: List<String>, val defaultEntryIndex: Int? = null) : Setting

A setting that allows the user to select a single string from a list of options. Value can be accessed from Settings.getString

Parameters

title

The title of the setting.

key

The key of the setting.

summary

The summary of the setting.

entryTitles

The titles of the entries.

entryValues

The values of the entries.

defaultEntryIndex

The index of the default entry.

Constructors

Link copied to clipboard
constructor(title: String, key: String, summary: String? = null, entryTitles: List<String>, entryValues: List<String>, defaultEntryIndex: Int? = null)

Properties

Link copied to clipboard
val defaultEntryIndex: Int? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val key: String
Link copied to clipboard
val summary: String? = null
Link copied to clipboard
open override val title: String