ScaleSelectPickerInspectorView

Constructor for readonly mode (used in the inspector for the calibration tool)

Parameters

context

Themed context for this inspector

label

Label for the inspector value

defaultValue

start value

listener

listener to notify about value changes


constructor(@NonNull context: Context, @NonNull label: String, @Nullable defaultValue: MeasurementValueConfiguration, @NonNull inspectorFactory: AnnotationInspectorFactoryBase, @Nullable measurementValueConfigurationEditor: MeasurementValueConfigurationEditor, @Nullable listener: MeasurementValueConfigurationPickerListener)

Construct scale picker.

Parameters

context

The context to use.

defaultValue

Default scale value selected when showing picker.

listener

Listener for scale picker changes.