当前位置:网站首页>The difference between rv and sv
The difference between rv and sv
2022-08-08 17:18:00 【Wholehearted】
ⅦⅢ_goldAnki 22:14:28
Boss, when should android use scrollview and when should recyclerview be used
ⅦⅢ_goldAnki 22:14:35
What's the difference between the two
ⅦⅢ_goldAnki speed trick 22:14:43
It feels like there are a bunch of sub-items in it, and then you can scroll up and down
ⅦⅢ_goldAnki 22:14:50
Baidu did not answer any relevant questions
scrollview is simply to allow the interface to slide, but it cannot be dynamically loaded according to the number of sub-items. Recyclerview can not only slide the interface up, but also dynamically load according to the number of sub-items
The former sub-items are written by youdead
ⅦⅢ_goldAnki speed trick 22:17:16
So it is
ⅦⅢ_goldAnki 22:17:43
Got it, got it, when it needs to be added dynamically, it must be rv, if it is written dead, then sv
ⅦⅢ_goldAnki speed trick 22:18:01
However, since rv can be rolled and added dynamically, what should sv do
sv is more convenient
Use sv when your interface doesn't need to load too many views
ⅦⅢ_goldAnki speed trick 22:18:51
Mmmm
边栏推荐
猜你喜欢
随机推荐
差分约束做法
L2-011 玩转二叉树 (25 分) (二叉树)
LeetCode_二叉树_中等_515.在每个树行中找最大值
laravel - query builder 2
PNAS最新研究:81%解题率,神经网络 Codex 推开高等数学世界大门
laravel-实践
咸阳广发证券股票开户安全吗,需要准备什么证件
六、Jmeter定时器
4. S32K14X study notes: S32 Design Studio new and imported projects
【20210923】选择感兴趣的研究方向?
【数学模型】TOPSIS
文件操作和IO
【开源教程2】疯壳·开源编队无人机-硬件资源简介
APICloud AVM wraps date and time selection components
3531. 哈夫曼树
L2-023 图着色问题 (25 分)
[深入研究4G/5G/6G专题-54]: L3信令控制-3-软件功能与流程的切分-CU-UP网元的信令
好用的项目工时管理系统有哪些
LeetCode_Binary Tree_Medium_515. Find the maximum value in each tree row
ARP协议详解,小白易懂









