Option Picker Inspector View
constructor(@NonNull context: Context, @NonNull options: List<String>, @NonNull defaultSelectedOptions: List<Integer>, isMultiSelectEnabled: Boolean, isEditable: Boolean, @Nullable defaultCustomValue: String, @Nullable listener: OptionPickerInspectorView.OnOptionPickedListener)
Construct options picker.
Parameters
context
The context to use.
options
List of available options.
default Selected Options
Indexes of selected options.
is Multi Select Enabled
Whether the options can be multi selected or only single option can be selected at a time.
is Editable
Whether custom value is supported.
default Custom Value
Default custom value.
listener
Listener for color picker changes.