首页 > 解决方案 > What are Recycler view and Card View?

问题描述

I'm building a todo app in which I want my user the ability to scroll down to see more todos so I'm confused about RecyclerView and CardView few are saying to use just RecyclerView and few are saying to use CardView but others are saying to use both so can you please tell me what to use and how to implement to scroll effect

*sorry I don't understand what code should I provide*

*new to stackoverflow*

标签: androidxmlandroid-recyclerviewandroid-cardview

解决方案


Recyclerview 就像操作所有的项目一样。如果您使用卡片视图,每个项目都有自己的卡片视图,并且所有项目都将加载到侧面回收站视图中。它取决于您是否要使用卡片视图的天气,但 recyclerview 是加载所有项目所必需的。卡片视图只是给他们不同的外观。我希望你能理解。


推荐阅读