DropDownPreference

(SESL variant) A ListPreference that presents the options in a drop down menu rather than a dialog.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, defStyle: Int)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, defStyleAttr: Int, defStyleRes: Int)

Functions

Link copied to clipboard
Binds the created View to the data for this preference.
Link copied to clipboard
Link copied to clipboard
open fun setEntries(@NonNull entries: Array<CharSequence>)
Sets the human-readable entries to be shown in the list.
Link copied to clipboard
open fun setValueIndex(index: Int)
Sets the value to the given index from the entry values.