Skip to content
New issue

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

解决框架和横向滑动控件的滑动冲突的办法 #325

Open
hackware1993 opened this issue Jan 11, 2018 · 0 comments
Open

解决框架和横向滑动控件的滑动冲突的办法 #325

hackware1993 opened this issue Jan 11, 2018 · 0 comments

Comments

@hackware1993
Copy link

细看了事件分发的代码,本质上还是此框架的 bug 引起的。

解决办法如下:

  1. 先设置 PtrFrameLayout.disableWhenHorizontalMove(true)
  2. 注释掉 PtrFrameLayout 第 115 行代码:
    // mPagingTouchSlop = conf.getScaledTouchSlop() * 2。

@liaohuqiu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant