We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ViewPager+DragPhotoView嵌套时, 手势方向为向下斜滑的情况下(xDiff<yDiff)的时候也会触发onActionMove使图片缩放的动作; 目前想优化下实现微信的那种手势处理: DragPhotoView只响应竖直方向的手势(向上、向下可以触发缩放退出),其他方向手势(向左、向右、斜下方向、斜上方向)都是触发ViewPager的翻页滑动... 大神求指导一下~~
The text was updated successfully, but these errors were encountered:
不好意思,工作原因,有一段时间没看github,鉴于你这类需求比较少见,建议把源码下载下来自己改一下事件分发,优先判断xDiff 到一定值就不做后面的操作。
Sorry, something went wrong.
No branches or pull requests
ViewPager+DragPhotoView嵌套时,
手势方向为向下斜滑的情况下(xDiff<yDiff)的时候也会触发onActionMove使图片缩放的动作;
目前想优化下实现微信的那种手势处理:
DragPhotoView只响应竖直方向的手势(向上、向下可以触发缩放退出),其他方向手势(向左、向右、斜下方向、斜上方向)都是触发ViewPager的翻页滑动...
大神求指导一下~~
The text was updated successfully, but these errors were encountered: