UnitsPickerInspectorView

constructor(@NonNull context: Context, @NonNull label: String, @NonNull defaultValue: Scale.UnitTo, @Nullable listener: UnitsPickerInspectorView.UnitPickerListener)

Construct unit picker.

Parameters

context

The context to use.

defaultValue

Default unit value selected when showing picker.

listener

Listener for unit picker changes.