syedowaisali / crystal-range-seekbar

537 stars 164 forks source link

Move the seekbar(Thumb) only between MinStartValue and MaxStartValue #133

Open basnetjiten opened 5 years ago

basnetjiten commented 5 years ago

seekbar.setMaxStartValue(10); seekbar.setMinStartValue(5); How do i make sure that the thumb do not scroll beyond the Min value and above the Max value. It should be moving only between the min and max value. please help.

dan13th commented 3 years ago

Hey, setMinStartValue()/setMaxStartValue() implies the value been set like you would've dragged it yourself.

What you're looking for is setMinValue() and setMaxValue(), these functions dictate the range between where the seekbar can be dragged.