OptionPickerInspectorView

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
Listener for option selection changes.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun beforeTextChanged(s: CharSequence, start: Int, count: Int, after: Int)
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
open fun getView(): View
Casts the inspector view to the View class and returns it.
Link copied to clipboard
open fun onClick(v: View)
Link copied to clipboard
open fun onFocusChange(v: View, hasFocus: Boolean)
Link copied to clipboard
open fun onTextChanged(s: CharSequence, start: Int, before: Int, count: Int)
Link copied to clipboard
open fun setFilters(@NonNull filters: Array<InputFilter>)
Sets the list of input filters that will be used in the custom value edit box.
Link copied to clipboard
open fun setInputType(inputType: Int)
Sets the type of content in the custom value edit box.
Link copied to clipboard
open fun setSelectedOptions(@NonNull selectedOptions: List<Integer>, notifyListeners: Boolean)
Sets selected option.
Link copied to clipboard
open fun unbindController()
Unbind from property inspector controller.