valuesChanges
Create a InitialValueFlow of values change events on the RangeSlider instance where the value emitted is the current value of the RangeSlider.
Note: Created flow keeps a strong reference to the RangeSlider instance until the coroutine that launched the flow collector is cancelled.
Example of usage:
rangeSlider.valuesChanges()
.onEach { values ->
// handle values
}
.launchIn(uiScope)
Content copied to clipboard