Returns the index of the given value (in the entry values array).
Returns the index of the given value (in the entry values array).
The value whose index should be returned.
The index of the value, or -1 if not found.
The list of entries to be shown in the list in subsequent dialogs.
The list of entries to be shown in the list in subsequent dialogs.
The list as an array.
Returns the entry corresponding to the current value.
Returns the entry corresponding to the current value.
The entry corresponding to the current value, or null.
Returns the array of values to be saved for the preference.
Returns the array of values to be saved for the preference.
The array of values.
Returns the summary of this SummaryPreference.
Returns the summary of this SummaryPreference. If the summary has a String formatting marker in it (i.e. "%s" or "%1$s"), then the current entry value will be substituted in its place.
the summary with appropriate string substitution
Returns the value of the key.
Returns the value of the key. This should be one of the entries in getEntryValues.
The value of the key.
The entries array as a resource.
#setEntries(CharSequence[])
Sets the human-readable entries to be shown in the list.
Sets the human-readable entries to be shown in the list. This will be shown in subsequent dialogs.
Each entry must have a corresponding index in setEntryValues(CharSequence[]).
The entries.
setEntryValues(CharSequence[])
The entry values array as a resource.
#setEntryValues(CharSequence[])
The array to find the value to save for a preference when an entry from entries is selected.
The array to find the value to save for a preference when an entry from entries is selected. If a user clicks on the second item in entries, the second item in this array will be saved to the preference.
The array to be used as values to save for the preference.
Sets the value of the key.
Sets the value of the key. This should be one of the entries in getEntryValues.
The value to set for the key.
Sets the value to the given index from the entry values.
Sets the value to the given index from the entry values.
The index of the value to set.
Based on: https://github.com/android/platform_frameworks_base/blob/master/core/java/android/preference/ListPreference.java https://github.com/android/platform_packages_apps_settings/blob/master/src/com/android/settings/notification/DropDownPreference.java