Option Picker Inspector View
class OptionPickerInspectorView : FrameLayout, PropertyInspectorView, View.OnClickListener, View.OnFocusChangeListener, TextWatcher
Picker for picking values from fixed list of options.
Constructors
Link copied to clipboard
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.
Types
Link copied to clipboard
interface OnOptionPickedListener
Listener for option selection changes.
Properties
Functions
Link copied to clipboard
Called after the text in the custom value field has been changed.
Link copied to clipboard
Called before the text in the custom value field is changed.
Link copied to clipboard
Bind to property inspector controller.
Link copied to clipboard
Returns maximum height that this view with all its detail views will occupy.
Link copied to clipboard
Height of the parent PropertyInspector that this view would like it to have.
Link copied to clipboard
Returns best height of this view when shown in inspector.
Link copied to clipboard
Handles focus changes on the custom value input field.
Link copied to clipboard
Called when the text in the custom value field is changed.
Link copied to clipboard
Sets the list of input filters that will be used in the custom value edit box.
Link copied to clipboard
Sets the type of content in the custom value edit box.
Link copied to clipboard
Sets selected option.
Link copied to clipboard
Unbind from property inspector controller.