getRangeSliderState

fun getRangeSliderState(key: Any, defaultValue: ClosedFloatingPointRange<Float> = 0F..0F, isRequired: Boolean = true): EasyFormsRangeSliderState

Create or Get a state that handle RangeSlider.

Return

EasyFormsRangeSliderState that provide RangeSlider state handling.

Parameters

key

a unique identifier for this state.

defaultValue

control where the RangeSlider position should be placed at.

isRequired

if this is true, then the user must select a position between 0F and xF.

Sources

androidJvm source
Link copied to clipboard