SettingMultipleChoice

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

A setting that allows the user to select multiple items from a list of options. Values can be accessed from Settings.getStringSet

Parameters

title

The title of the setting.

key

The unique key of the setting.

summary

The summary of the setting.

entryTitles

The titles of the entries.

entryValues

The values of the entries.

defaultEntryIndices

The indices of the default entries.

Constructors

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

Properties

Link copied to clipboard
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