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

无限问题 #2

Open
zcnew opened this issue Mar 6, 2017 · 3 comments
Open

无限问题 #2

zcnew opened this issue Mar 6, 2017 · 3 comments

Comments

@zcnew
Copy link

zcnew commented Mar 6, 2017

这好像不能完全无限轮播,是伪无限吧,因为return (images?.count ?? 0) * 10000,若是10000设置小一点,会出现黑屏?(学习学习!)

@Rain-dew
Copy link
Owner

Rain-dew commented Mar 7, 2017

是的。这里其实是10000个,我自动滚动到中间,也就是5000张左右,开始就可以左右滚动,但是如果有个人很无聊滚5000张是会滚动到底的。但是我不认为会有这样无聊的人。当然。你可以这里设一个999999999999999.....

@Rain-dew
Copy link
Owner

Rain-dew commented Mar 7, 2017

设置小点是不会出现黑屏的。最后会滚动不了。其实你大可不必纠结此处

@zcnew
Copy link
Author

zcnew commented Mar 7, 2017

好的,明白了,谢谢。

@Rain-dew Rain-dew reopened this Jun 15, 2017
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