Skip to content

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

Open
@SmartKidsLOL

Description

@SmartKidsLOL
No description provided.

Activity

SmartKidsLOL

SmartKidsLOL commented on Nov 16, 2020

@SmartKidsLOL
Author

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

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

RealFeeling commented on Dec 2, 2020

@RealFeeling

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

SmartKidsLOL

SmartKidsLOL commented on Dec 2, 2020

@SmartKidsLOL
Author

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

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

TReturn

TReturn commented on Aug 27, 2021

@TReturn

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @RealFeeling@SmartKidsLOL@TReturn

        Issue actions

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