SwitchInspectorView

constructor(@NonNull context: Context, @NonNull label: String, defaultValue: Boolean, @Nullable listener: SwitchInspectorView.SwitchListener)

Construct switch picker.

Parameters

context

The context to use.

defaultValue

Default switch units on/off setting.

listener

Listener for precision picker changes.