Toggle Picker Inspector View
constructor(@NonNull context: Context, @NonNull label: String, @NonNull onValue: String, @NonNull offValue: String, defaultState: Boolean, @Nullable listener: TogglePickerInspectorView.TogglePickerListener)
Construct the TogglePickerInspectorView.
Parameters
context
The context to use.
label
The label to describe the value that will be picked.
on Value
The text describing the on state.
off Value
The text describing the off state.
default State
The default state of the toggle.