This method is deprecated.
Preferences aren't views. They should not need any accessibility changes,
unless the view hierarchy is customized. In this situation, please add Accessibility
information in onBindViewHolder(PreferenceViewHolder).

setEntryValues

setEntryValues

public void setEntryValues (CharSequence[] entryValues)

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.

Parameters

entryValues

CharSequence: The array to be used as values to save for the preference

Protected methods

onGetDefaultValue

Called when a preference is being inflated and the default value attribute needs to be
read. Since different preference types have different value types, the subclass should get
and return the default value which will be its value type.

onSaveInstanceState

Hook allowing a preference to generate a representation of its internal state that can
later be used to create a new instance with that same state. This state should only
contain information that is not persistent or can be reconstructed later.