ListPreference
A Preference that displays a list of entries as a dialog.
This preference saves a string value. This string will be the value from the setEntryValues array.
Inheritors
Constructors
Types
Link copied to clipboard
A simple androidx.preference.Preference.SummaryProvider implementation for a ListPreference.
Functions
Link copied to clipboard
Returns the index of the given value (in the entry values array).
Link copied to clipboard
The list of entries to be shown in the list in subsequent dialogs.
Link copied to clipboard
Returns the entry corresponding to the current value.
Link copied to clipboard
Returns the array of values to be saved for the preference.
Link copied to clipboard
Returns the summary of this preference.
Link copied to clipboard
Sets the human-readable entries to be shown in the list.
Link copied to clipboard
The array to find the value to save for a preference when an entry from entries is selected.
Link copied to clipboard
Sets the summary for this preference with a CharSequence.
Link copied to clipboard
Sets the value to the given index from the entry values.