Yalantis/FlipViewPager.Draco

about item click

Closed this issue · 3 comments

weity commented

It's not proper about code if(ev.getRowX() == mLastMotionX || ev.getRowY() == mLastMotionY) in FlipViewPager to judge wether user click or not.

I change the code like below:
if (Math.abs(ev.getX() - mLastMotionX) < mTouchSlop ||
Math.abs(ev.getY() - mLastMotionY) < mTouchSlop)
and it works fine.

Thank you very much , man ! It works perfect!

Hi, @weity! Thank you for your solution. You can suggest pull request to fix this issue. We appreciate it.

resolved