material-range-bar
material-range-bar copied to clipboard
Pin disappears on setRangePinsByIndices
My rangebar with constant pin (not the tmeporary one) and only right pin behaves badly when rangebar.setRangePinsByIndices(0, 3);
is called. I managed to reproduce it on the sample app. The thing is it only reproduces when setRangePinsByIndices
is called after some time like this:
rangebar.postDelayed(new Runnable() {
@Override
public void run() {
rangebar.setRangePinsByIndices(0, 3);
}
}, 2000);
It's a simple sample but it behaves the same way when threading with rxjava and probably anything else.
I made a branch demonstrating that on my fork: https://github.com/jkwiecien/material-range-bar/tree/pin-disappear
Did you find a solution?
any solution?
There is a merge request fixing that problem. I did copy parts of that and rewrite the library.
Which merge request did you mention ?