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

大佬可以三个以上吗 #3

Open
jianleepb opened this issue May 14, 2019 · 3 comments
Open

大佬可以三个以上吗 #3

jianleepb opened this issue May 14, 2019 · 3 comments

Comments

@jianleepb
Copy link

只能添加三个不满足需求,需要n个循环,这样有办法修改吗?

@wuyr
Copy link
Owner

wuyr commented May 14, 2019

三个以上的话,不适用,因为如果超过三个,多出来的子View就不知道应该怎么布局了
现在滑动时最前面的子View会跑到最后面去,如果item比较多,滑动起来的效果应该跟现在的效果有差别,就不能看到最前面的子View往后面移动了

如果显示的是一个比较长的列表的话,推荐用RecyclerView来做
https://github.com/wuyr/PathLayoutManager
用这个LayoutManager,设置下参数也可以做出类似LitePager的效果

@JackTuoTuo
Copy link

大哥 解决了这个需求么

@wuyr
Copy link
Owner

wuyr commented Jun 22, 2019

同学你好,最新版本1.2.0已支持5个Item

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

3 participants