EverythingMe / overscroll-decor

Android: iOS-like over-scrolling effect applicable over almost all scrollable Android views.
BSD 2-Clause "Simplified" License
2.85k stars 400 forks source link

Scrolling is tight on a few devices such as LG G Stylo #42

Open RanceAttack opened 7 years ago

RanceAttack commented 7 years ago

I find that in class MotionAttributes, MotionEvent.getHistoricalX/Y(0,0) was not the last point . It is closer to current point. For example: First event: getY(0) is 15f. Second event: getY(0)is 20f but event.getHistoricalY(0,0) is 18f On LG G Stylo , scroll distance is only about 1/4 of other devices'.