setEntryValues

open fun setEntryValues(entryValues: Array<CharSequence>)(source)

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

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


open fun setEntryValues(@ArrayRes entryValuesResId: Int)(source)

Parameters

entryValuesResId

The entry values array as a resource

See also