'How to get RangeSlider thumb values

I am using RangeSlider in android ,I want display both thumb values. Can anyone help me how I can obtain it?enter image description here

I want to setText as piece between 20 to 70



Solution 1:[1]

I don't think the library allows you to show this value simultaneously but you can get values of both the thumbs at all times from rangeSlider.values

You can then use a custom label on top of the thumbs to display the values at the same time. Other than that, several libraries are available which provide target tooltips on a screen.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Akanshi Srivastava