Closed farhadsaberi closed 6 years ago
For now you can use this code:
val max = 45
fun pos2text(max: Int, pos: Float) = "${(max * pos).toInt()}"
val slider = findViewById<FluidSlider>(R.id.fluidSlider)
slider.positionListener = { slider.bubbleText = pos2text(max, it) }
slider.position = 0.5f
slider.bubbleText = pos2text(max, 0.5f)
slider.startText ="0"
slider.endText = "45"
Hi,
How to change range size from 100 to 45?