Skip to content Skip to sidebar Skip to footer

How To Set First Seekbar Process Value Is To Assign Initial Value Of Second Seekbar In Android?

I have two seekbars. I want to set first Seekbar process value is to assign initial value of second Seekbar. My Exact requirement is, I want cover 0 to 100 with three seekbar.Ex :

Solution 1:

Unfortunately vanilla SeekBar does not have a default min field. I store this value in parallel with untidy and inconvenient int fields. You could extend the class, or do as I do, but it seems to me you are describing a common situation, the functionality for which is already provided by many RangeBar implementations.

My Exact requirement is, I want cover 0 to 100 with three seekbar.Ex : If FirstSeekBar cover 1 to 30 the Second SeekBar automatically starts 30 to 100. if I set process value 60 in second seekbar the Third Seekbar automatically starts 60 to 100.

https://github.com/yahoo/android-range-seek-bar has just two thumbs and should be ideal. Others provide unlimited thumbs.

Post a Comment for "How To Set First Seekbar Process Value Is To Assign Initial Value Of Second Seekbar In Android?"