android - 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*
解决方案
Recyclerview 就像操作所有的项目一样。如果您使用卡片视图,每个项目都有自己的卡片视图,并且所有项目都将加载到侧面回收站视图中。它取决于您是否要使用卡片视图的天气,但 recyclerview 是加载所有项目所必需的。卡片视图只是给他们不同的外观。我希望你能理解。
推荐阅读
- node.js - 使用从文件加载的自定义设置扩展配置
- c# - 找不到 System.IO.Compression 程序集
- c++ - UNICODE_STRING 蓝屏死机 WDK
- python - Opencv从视频文件而不是网络摄像头将视频作为output.avi写入
- vba - 如何根据表单上另一个文本框中的日期更改状态 - Access
- c++ - 如何使用 QPainter 对饼形进行纹理处理
- android - Moshi 适配器跳过列表中的坏对象
- karate - 如何在 karate-config.js 中设置重试直到
- wordpress - 使用 WooCommerce 根据当地时间隐藏运输方式
- ios - UITabBarController 图标未显示