If you swipe on an angle (e.g. down and to the left) past the end of the range bar you can set the value to outside the range bar entirely. Once you are in that state backgrounding and foregrounding the app causes an exception to be thrown in setRangePinsByIndices because the left value is less than the minimum value. I have been able to get around it using
If you swipe on an angle (e.g. down and to the left) past the end of the range bar you can set the value to outside the range bar entirely. Once you are in that state backgrounding and foregrounding the app causes an exception to be thrown in setRangePinsByIndices because the left value is less than the minimum value. I have been able to get around it using
` mRangeBar.setOnRangeBarChangeListener( (rangeBar, i, i1, left, right) -> { Logger.d(TAG, "onRangeChangeListener");
}); `
but that is just a hacky workaround and this should be built into the library