当前位置:网站首页>Kotlin Compose 多个条目滚动
Kotlin Compose 多个条目滚动
2022-07-05 09:36:00 【安果移不动】
LazyRow or LazyCloumn 都可以横向滚动。非常不错的。。
但是。他们只有一列非常单调
可以使用
LazyVerticalGrid
@OptIn(ExperimentalFoundationApi::class)
@Preview
@Composable
fun SimpleList() {
LazyVerticalGrid(
cells = GridCells.Adaptive(minSize = 128.dp)
) {
items(100) { photo ->
Text(text = "First ${photo}item")
}
}
}
非常不错
边栏推荐
- Lepton 无损压缩原理及性能分析
- [two objects merged into one object]
- 【技术直播】如何用 VSCode 从 0 到 1 改写 TDengine 代码
- 如何正确的评测视频画质
- Nips2021 | new SOTA for node classification beyond graphcl, gnn+ comparative learning
- 从“化学家”到开发者,从甲骨文到 TDengine,我人生的两次重要抉择
- [NTIRE 2022]Residual Local Feature Network for Efficient Super-Resolution
- 【sourceTree配置SSH及使用】
- [object array A and object array B take out different elements of ID and assign them to the new array]
- 剪掉ImageNet 20%数据量,模型性能不下降!Meta斯坦福等提出新方法,用知识蒸馏给数据集瘦身...
猜你喜欢
Node の MongoDB Driver
SQL learning - case when then else
揭秘百度智能测试在测试自动执行领域实践
剪掉ImageNet 20%数据量,模型性能不下降!Meta斯坦福等提出新方法,用知识蒸馏给数据集瘦身...
百度APP 基于Pipeline as Code的持续集成实践
百度交易中台之钱包系统架构浅析
The popularity of B2B2C continues to rise. What are the benefits of enterprises doing multi-user mall system?
为什么不建议你用 MongoDB 这类产品替代时序数据库?
H. 265 introduction to coding principles
Cross process communication Aidl
随机推荐
观测云与 TDengine 达成深度合作,优化企业上云体验
百度智能小程序巡检调度方案演进之路
oracle 多行数据合并成一行数据
初识结构体
剪掉ImageNet 20%数据量,模型性能不下降!Meta斯坦福等提出新方法,用知识蒸馏给数据集瘦身...
TDengine可通过数据同步工具 DataX读写
Cross process communication Aidl
About getfragmentmanager () and getchildfragmentmanager ()
【技术直播】如何用 VSCode 从 0 到 1 改写 TDengine 代码
How to implement complex SQL such as distributed database sub query and join?
The popularity of B2B2C continues to rise. What are the benefits of enterprises doing multi-user mall system?
Cloud computing technology hotspot
How do enterprises choose the appropriate three-level distribution system?
微信小程序获取住户地区信息
[app packaging error] to proceed, either fix the issues identified by lint, or modify your build script as follow
What should we pay attention to when entering the community e-commerce business?
一次 Keepalived 高可用的事故,让我重学了一遍它
百度交易中台之钱包系统架构浅析
Android SQLite database encryption
【OpenCV 例程200篇】219. 添加数字水印(盲水印)