Precision Picker Inspector View
Inspector component for picking number of decimal points for float value rounding.
Constructors
Link copied to clipboard
constructor(@NonNull context: Context, @NonNull label: String, @NonNull precision: MeasurementPrecision, @NonNull unit: Scale.UnitTo, @Nullable annotationType: AnnotationType, @Nullable listener: PrecisionPickerInspectorView.PrecisionPickerListener)
Construct precision picker.
Types
Link copied to clipboard
interface PrecisionPickerListener
Listener for precision value being picked.
Functions
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
Our options change depending on what the selected unit, so we need to be notified on change.
Link copied to clipboard
Sets value to the precision picker.
Link copied to clipboard
Unbind from property inspector controller.