当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
iNFTnews | Metaverse brings new ideas for enterprise development
【数学模型】灰色关联分析
yarn : 无法加载文件 D:xxx\node_global\yarn.ps1 因为在此系统上禁止运行脚本
[深入研究4G/5G/6G专题-54]: L3信令控制-3-软件功能与流程的切分-CU-UP网元的信令
VISTA无人驾驶模拟器;FinRL量化金融深度强化学习库;『深度神经网络应用』电子书;CUDA/TensorRT案例集锦;前沿论文 | ShowMeAI资讯日报
暴力解决MySQL出现的莫名其妙的问题-重启服务!
APICloud AVM 封装日期和时间选择组件
H. Huge Boxes of Animal Toys
使用电脑通过VNC Viewer远程连接树莓派4B
L2-027 名人堂与代金券 (25 分)
【TypeScript】函数类型:返回值类型和参数类型到底如何定义?
题目:有序队列
L2-023 图着色问题 (25 分)
leetcode:295. 数据流的中位数
Nervegrowold: machine advanced learning advice
B. Stairs
【20210923】选择感兴趣的研究方向?
数据库分析与优化
ARP协议详解,小白易懂
Are Huishang Futures official and reliable?Is it safe to open an account in Huishang Futures?