changeEvents
Create a InitialValueFlow of change events on the RangeSlider instance.
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.changeEvents()
.onEach { event ->
// handle event
}
.launchIn(uiScope)
Content copied to clipboard
Create a InitialValueFlow of change events on the Slider instance.
Note: Created flow keeps a strong reference to the Slider instance until the coroutine that launched the flow collector is cancelled.
Example of usage:
slider.changeEvents()
.onEach { event ->
// handle event
}
.launchIn(uiScope)
Content copied to clipboard