PresetPreference

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet)

Properties

Link copied to clipboard
val PRESET_CUSTOM: Float = -1.0f
Link copied to clipboard
open var value: Int
The current value of this preference.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setListItemLayoutResource(layoutResId: Int)
Sets the layout to use for grid items.
Link copied to clipboard
Sets a listened to invoke when the value of this preference changes.
Link copied to clipboard
open fun setTitles(titles: Array<CharSequence>)
Sets the list of item titles.
Link copied to clipboard
open fun setValues(values: Array<Int>)
Sets the list of item values.
Link copied to clipboard
This determines whether the dependent preferences below this should be disabled.