get Tri Checkbox State
fun getTriCheckboxState(key: Any, defaultValue: ToggleableState = ToggleableState.Indeterminate, isRequired: Boolean = true): EasyFormsTriCheckboxState
Content copied to clipboard
Create or Get a state that handle TriStateCheckbox.
Return
EasyFormsTriCheckboxState that provide TriStateCheckbox state handling.
Parameters
key
a unique identifier for this state.
defaultValue
control what the TriStateCheckbox default state should be.
isRequired
if this is true, then the user must toggle the state to ON to be valid.
Sources
androidJvm source
Link copied to clipboard