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

setOffscreenItems doesn't work #19

Closed
LoveNormalDay opened this issue Apr 27, 2017 · 4 comments
Closed

setOffscreenItems doesn't work #19

LoveNormalDay opened this issue Apr 27, 2017 · 4 comments

Comments

@LoveNormalDay
Copy link

Hello.
I want to use setOffscreenItems ,but it doesn't work.Can you tell me why,thank you very much

@yarolegovich
Copy link
Owner

Tell me please what are you trying to achieve and what doesn't work.

@LoveNormalDay
Copy link
Author

Thank you for your reply.What I wanted was the effect that infinite loop,but I does not know how to achieve it.So I used many groups had the same data to achieve infinite loop.If you can do it,please tell me ,thanks

@yarolegovich
Copy link
Owner

.setOffscreenItems(n) just makes LayoutManager to measure and lay out n items that are not yet visible on the screen.
What you want is a newly added feature described here. Switch to version 1.2.0 to use it.

@LoveNormalDay
Copy link
Author

Thank you very much

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