Relative Content

Tag Archive for androidandroid-jetpack-composematerial-designandroid-jetpack-compose-material3

Jetpack Compose RangeSlider crash for discrete values

I’m trying to use a RangeSlider to be able to select discrete values. The current data set I’m using comes from our backend with values in 15..50. It mostly works, except that two values on the slider end up having extremely precise decimal places, and it seems to be causing a crash when both endpoints are set to either one of those values.