Example usage for Java android.preference MultiSelectListPreference fields, constructors, methods, implement or subclass
The text is from its open source code.
int | findIndexOfValue(String value) Returns the index of the given value (in the entry values array). |
Class> | getClass() Returns the runtime class of this Object . |
CharSequence[] | getEntries() The list of entries to be shown in the list in subsequent dialogs. |
void | setEnabled(boolean enabled) Sets whether this Preference is enabled. |
void | setEntries(CharSequence[] entries) Sets the human-readable entries to be shown in the list. |
void | setEntries(@ArrayRes int entriesResId) |
void | setEntryValues(CharSequence[] entryValues) The array to find the value to save for a preference when an entry from entries is selected. |
void | setEntryValues(@ArrayRes int entryValuesResId) |
void | setKey(String key) Sets the key for this Preference, which is used as a key to the SharedPreferences or PreferenceDataStore . |
void | setOnPreferenceChangeListener(OnPreferenceChangeListener onPreferenceChangeListener) Sets the callback to be invoked when this Preference is changed by the user (but before the internal state has been updated). |
void | setSummary(CharSequence summary) Sets the summary for this Preference with a CharSequence. |
void | setTitle(CharSequence title) Sets the title for this Preference with a CharSequence. |