Skip to content
谷进杰 edited this page Jun 18, 2019 · 7 revisions

1、How to use java code to update some attributes when you want

RangeSeekBar support setter and getter for all attributes, so just do what you want to do in the Listener! If you want to change one of the seekbar's attributes, you can use getLeftSeekBar() or getRightSeekBar() to do it. Just enjoy it !

2、why setXXX method not work?

It is very resource consuming to set up attributes to redraw each time, so you need to call rangeSeekBar.invalidate() to make it work!