Package com.maxkeppeler.sheets.option
Types
Link copied to clipboard
The display modes that can be used. LIST, GRID_HORIZONTAL
Link copied to clipboard
Listener which returns the selected index and the respective option. If multiple choices is enabled, this listener will return nothing. Use the OptionsListener.
Link copied to clipboard
Listener that is invoked when an option view is long clicked. This could be used to initiate another action e. g. editing the option in another sheet.
Link copied to clipboard
The OptionSheet lets you display a grid or list of options.
Link copied to clipboard
typealias OptionsListener = OptionSheet.(selectedIndices: MutableList<Int>, selectedOptions: MutableList<Option>) -> Unit
Content copied to clipboard
Listener which returns the selected option's index and text.