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

LabelFlowLayout 流式标签,能否结合viewpager #15

Open
tmxd09887 opened this issue Jul 8, 2020 · 6 comments
Open

LabelFlowLayout 流式标签,能否结合viewpager #15

tmxd09887 opened this issue Jul 8, 2020 · 6 comments
Labels

Comments

@tmxd09887
Copy link

看了下,不能设置setViewPager

@LillteZheng
Copy link
Owner

用到 ViewPager 只是为了拿到Viewpager 滑动的参数来实现一些效果,而LabelFlowLayout 本身并不需要这些;
你把 LabelFlowLayout 放到 fragment 再跟 ViewPager 结合就好了。

@tmxd09887
Copy link
Author

你好,我的意思是用LabelFlowLayout代替tablayout的功能,整合viewpager和fragment

@LillteZheng
Copy link
Owner

没明白你的意思,你用 LabelFlowLayout 去替代 TabFlowLayout 干嘛呢?LabelFlowLayout 的定义就是标签布局,为换行、添加更多服务的,结合 ViewPager 实现啥功能呢?
或者你把演示效果发上来我看看

@tmxd09887
Copy link
Author

就是要实现多行tab,效果类似附件里的
demo

@LillteZheng
Copy link
Owner

哦哦,了解了,不过这个可能会排到比较晚,最近项目比较急,这种新功能的添加,要等到后面了。

@LillteZheng LillteZheng reopened this Jul 11, 2020
@tmxd09887
Copy link
Author

谢谢回答

辛苦了

@LillteZheng LillteZheng added 公告 需求排期 需求 and removed 公告 需求排期 labels Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants