Skip to content

嵌套RecyclerViewX使用下拉刷新或者上拉加载时,手指未抬起(没有离开屏幕),RecyclerViewX却收到了ActionUp抬起事件 #1271

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

Open
SmartKidsLOL opened this issue Nov 16, 2020 · 4 comments

Comments

@SmartKidsLOL
Copy link

No description provided.

@SmartKidsLOL
Copy link
Author

我使用时的情况是,ViewPager2+Fragment滑动,Fragment内页为SmartRefreshLayout+RecyclerViewX,但是每次在下拉刷新或者上拉加载后,手指并没有抬起,但是却收到了action_up事件,导致接下来的事件由Viewpager2接收,结果就是误切页面,由于时间问题,烦请作者或者已经解决此问题的大佬可以留下一个解决方案,感激不尽

@SmartKidsLOL SmartKidsLOL changed the title RecyclerViewX 嵌套RecyclerViewX使用下拉刷新或者上拉加载时,手指未抬起(没有离开屏幕),RecyclerViewX却收到了ActionUp抬起事件 Nov 16, 2020
@RealFeeling
Copy link

作者似乎弃库了,这个问题长时间没有解决,只能另寻其他的方法了

@SmartKidsLOL
Copy link
Author

作者似乎弃库了,这个问题长时间没有解决,只能另寻其他的方法了

嗯,我简单修改了一下finishLoadMore这个method的源码,配合ViewPager2简单做了一下加载时不能左右滑动的效果,最起码比原来强一些

@TReturn
Copy link

TReturn commented Aug 27, 2021

可以试试我的解决方法:https://www.jianshu.com/p/3fb3f1bc6ebb

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

3 participants