Constructors

Link copied to clipboard
constructor(@NonNull context: Context, @NonNull colors: Array<Int>, @ColorInt defaultValue: Int, singleLine: Boolean)
constructor(@NonNull context: Context, @NonNull colors: List<Integer>, @ColorInt defaultValue: Int, singleLine: Boolean)

Functions

Link copied to clipboard
Bind to property inspector controller.
Link copied to clipboard
open fun getMaximumHeight(): Int
Called to get the maximum height the detail view will be.
Link copied to clipboard
open fun getMinimumHeight(): Int
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
Sets listener for picked colors.
Link copied to clipboard
open fun setShowSelectionIndicator(showSelectionIndicator: Boolean)
Makes color selection indicator visible/invisible.
Link copied to clipboard
open fun unbindController()
Unbind from property inspector controller.