Java android.preference MultiSelectListPreference fields, constructors, methods, implement or subclass

Example usage for Java android.preference MultiSelectListPreference fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.preference MultiSelectListPreference.

The text is from its open source code.

Method

intfindIndexOfValue(String value)
Returns the index of the given value (in the entry values array).
ClassgetClass()
Returns the runtime class of this Object .
CharSequence[]getEntries()
The list of entries to be shown in the list in subsequent dialogs.
voidsetEnabled(boolean enabled)
Sets whether this Preference is enabled.
voidsetEntries(CharSequence[] entries)
Sets the human-readable entries to be shown in the list.
voidsetEntries(@ArrayRes int entriesResId)
voidsetEntryValues(CharSequence[] entryValues)
The array to find the value to save for a preference when an entry from entries is selected.
voidsetEntryValues(@ArrayRes int entryValuesResId)
voidsetKey(String key)
Sets the key for this Preference, which is used as a key to the SharedPreferences or PreferenceDataStore .
voidsetOnPreferenceChangeListener(OnPreferenceChangeListener onPreferenceChangeListener)
Sets the callback to be invoked when this Preference is changed by the user (but before the internal state has been updated).
voidsetSummary(CharSequence summary)
Sets the summary for this Preference with a CharSequence.
voidsetTitle(CharSequence title)
Sets the title for this Preference with a CharSequence.