Slider Picker Inspector View
constructor(@NonNull context: Context, @NonNull label: String, @NonNull unitLabel: String, minValue: Int, maxValue: Int, defaultValue: Int, @Nullable listener: SliderPickerInspectorView.SliderPickerListener)
Construct slider picker.
Parameters
context
The context to use.
label
Label displayed before slider view.
unit Label
Unit label format. This format string must contain "%d" or "%s" to substitute correct value during formatting. For example when using "%d pt" slider label gets formatted as "10 pt".
min Value
Minimum slider value.
max Value
Maximum slider value.
default Value
Initial value set for the slider and the edit text.
listener
Listener called when new values are picked using the slider.