Scale Select Picker Inspector View
constructor(@NonNull context: Context, @NonNull label: String, @Nullable defaultValue: MeasurementValueConfiguration, @Nullable listener: MeasurementValueConfigurationPickerListener)
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
default Value
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.
default Value
Default scale value selected when showing picker.
listener
Listener for scale picker changes.