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

MotionEvent.getHistorySize always return 0 #13

Closed yiranshaxiao closed 8 years ago

yiranshaxiao commented 8 years ago

MotionEvent.getHistorySize always return 0 on my device. I found no solution on stackoverflow :(

Xperia Z
Android 5.1.1
CyanogenMod 12.1-20160316-NIGHTLY-yuga
d4vidi commented 8 years ago

Sorry, but history size is deeply essential for the effect to work. The only advice I have is to try using an official CyanogenMod release (rather than a nightly build), or dump Cyanogen altogether.