47

无限循环RecyclerView的完美实现方案

 5 years ago
source link: https://juejin.im/post/5cfa198ff265da1b8c197c2f
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
背景 项目中要实现横向列表的无限循环滚动,自然而然想到了RecyclerView,但我们常用的RecyclerView是不支持无限循环滚动的,所以就需要一些办法让它能够无限循环。 方案选择 方案1 对Adapter进行修改 网上大部分博客的解决方案都是这种方案

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK