RecyclerView how to make cyclic

让人想犯罪 __ 提交于 2019-12-11 12:36:47

问题


I have RecyclerView with elements, for example from 1 to 10. Can somebody help? Thanks!

1 2 3 4 5 6 7 8 9 10 //On create

and when I scroll i want to make something like this:

9 10 1 2 3 4 5 6 7 8 //On Scroll

5 6 7 8 9 10 1 2 3 4


回答1:


Please refer to the following question which answers a similar problem: How do I create a circular (endless) RecyclerView?



来源:https://stackoverflow.com/questions/34909927/recyclerview-how-to-make-cyclic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!