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

需求:顶部最左边有个“全部”,且不会跟随顶部标题滑动的 #89

Open
zhangjianjun056 opened this issue May 28, 2020 · 2 comments
Labels
question Further information is requested

Comments

@zhangjianjun056
Copy link

zhangjianjun056 commented May 28, 2020

需求:
顶部最左边有个“全部”,且不会跟随顶部标题滑动的,如下:
全部 周一 周二 周三 周四 周五 周六 周日

其中:”全部”不会跟随”周一~周日”滑动,手动滑动下面的列表view后,选中对应的“全部”。
手动点击“全部”时,下面的列表view会自动的滑动到对应的view

@pujiaxin33
Copy link
Owner

只能自己去修改listContainerView进行支持了。目前listContainerView和titles的数量是需要相同的。你的需求要求全部固定在最左边,那么全部就只能作为单独的按钮实现。所以,最终就是上面的JXSegmentedView的数据源是【周一 周二 周三 周四 周五 周六 周日】,但是下面的listContainer却要有8个列表。

@pujiaxin33 pujiaxin33 added the question Further information is requested label Jun 1, 2020
@zhangjianjun056
Copy link
Author

zhangjianjun056 commented Jun 1, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants