is this possible to change progress interval to 500,1000,1500 instead of 1,2,3 in range seekbar..?
GoogleCodeExporter opened this issue · 3 comments
GoogleCodeExporter commented
pls help
Original issue reported on code.google.com by radheshr...@gmail.com
on 24 Sep 2014 at 5:32
GoogleCodeExporter commented
any success??
Original comment by tahir90....@gmail.com
on 12 Nov 2014 at 8:41
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
int startValue = 1000;
int endValue = 100000;
final int factor = 500;
RangeSeekBar<Integer> seekBar = new RangeSeekBar<Integer>(startValue/factor, endValue/factor, this);
seekBar.setOnRangeSeekBarChangeListener(new RangeSeekBar.OnRangeSeekBarChangeListener<Integer>() {
@Override
public void onRangeSeekBarValuesChanged(RangeSeekBar<?> bar, Integer minValue, Integer maxValue) {
minValue = minValue*factor
maxValue *= factor;
value.setText(minValue + " : " + maxValue);
}
});
Original comment by radheshr...@gmail.com
on 13 Nov 2014 at 4:58
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
how to set progress interval from start value 1000 to 10000 int factor 100
after that int factor 500..any idea?
Original comment by radheshr...@gmail.com
on 28 Nov 2014 at 11:01
- Added labels: ****
- Removed labels: ****