If I swipe from Right to Left in Samsung S5 or any device lower then 8.0 I get XVelocity in positive numbers and when I swipe right to left in devices greater then 8.0 like android 9 (Note9, s10) for the same swipe I get XVelocity in negative numbers. why it is so ?
mVelocityTracker = VelocityTracker.obtain();
mVelocityTracker.addMovement(event);
mVelocityTracker.getXVelocity()