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

recyclerview 嵌套在viewPager中如何处理滑动冲突 #27

Open
lb1207087645 opened this issue Apr 11, 2019 · 0 comments
Open

recyclerview 嵌套在viewPager中如何处理滑动冲突 #27

lb1207087645 opened this issue Apr 11, 2019 · 0 comments

Comments

@lb1207087645
Copy link

你好,我有一个顶部TabLayout,下面添加了一个ViewPager,在ViewPager里加载多个Fragment,然后每个Fragment中用recyclerview中添加完这个控件后,然后在滚动每个Fragment里面的recyclerView的时候 ,会触发外层viewpager的滚动事件,导致ViewPager的Fragment的切换,而不是每个Fragment里面recyclerView的一页页切换,我要实现的效果是滑动的时候先每个Fragment里面recyclerView里面一页页切换,切换到recyclerView最后一页的时候,引起viewPager的Fragment切换。怎么实现这个效果呢?

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