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

在ViewPager中嵌套, 滑动不行 #5

Closed
LillteZheng opened this issue Mar 6, 2020 · 7 comments
Closed

在ViewPager中嵌套, 滑动不行 #5

LillteZheng opened this issue Mar 6, 2020 · 7 comments

Comments

@LillteZheng
Copy link
Owner

在ViewPager中嵌套, 滑动不行

Originally posted by @748297973 in #1 (comment)

@LillteZheng
Copy link
Owner Author

应该是事件分发问题,可以把问题描述清楚一点;

@GXSZone
Copy link

GXSZone commented Mar 7, 2020

应该是事件分发问题,可以把问题描述清楚一点;

在ViewPager包含的fragment中使用,可以在本控件上点击使他滚动,但是左右滑动直接滑动到另一个页面了

@LillteZheng
Copy link
Owner Author

额,还是不太明白你的问题;你在 viewpager 的 fragment 使用 tabflowlayout ?,然后滑动 viewpager 到另外的页面?

@GXSZone
Copy link

GXSZone commented Mar 7, 2020

额,还是不太明白你的问题;你在 viewpager 的 fragment 使用 tabflowlayout ?,然后滑动 viewpager 到另外的页面?

链接:https://pan.baidu.com/s/1nAnPOLan0jFpG6bRUsc19w
提取码:6c63

@LillteZheng
Copy link
Owner Author

嗯,看你的意思是点击是可以,滑动的时候,事件被 viewpager 截取了是吧,我明天看看,我记得滑动的时候,是屏蔽 父控件的事件的

@GXSZone
Copy link

GXSZone commented Mar 7, 2020

嗯,看你的意思是点击是可以,滑动的时候,事件被 viewpager 截取了是吧,我明天看看,我记得滑动的时候,是屏蔽 父控件的事件的

好的

@LillteZheng
Copy link
Owner Author

已解决,更新到最新的即可,感谢反馈

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

2 participants