getSliderState

fun getSliderState(key: Any, defaultValue: Float = 0F, isRequired: Boolean = true): EasyFormsSliderState

Create or Get a state that handle Slider.

Return

EasyFormsSliderState that provide Slider state handling.

Parameters

key

a unique identifier for this state.

defaultValue

control where the Slider position should be placed at.

isRequired

if this is true, then the user must select a position that is bigger than 0F.

Sources

androidJvm source
Link copied to clipboard