当前位置:网站首页>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")
}
}
}
非常不错
边栏推荐
- Mobile heterogeneous computing technology GPU OpenCL programming (Advanced)
- 从“化学家”到开发者,从甲骨文到TDengine,我人生的两次重要抉择
- [technical live broadcast] how to rewrite tdengine code from 0 to 1 with vscode
- oracle 多行数据合并成一行数据
- Node-RED系列(二九):使用slider与chart节点来实现双折线时间序列图
- 植物大战僵尸Scratch
- Tdengine connector goes online Google Data Studio app store
- Common fault analysis and Countermeasures of using MySQL in go language
- 卷起来,突破35岁焦虑,动画演示CPU记录函数调用过程
- ThreadLocal source code learning
猜你喜欢

百度评论中台的设计与探索
![[ManageEngine] how to make good use of the report function of OpManager](/img/15/dc15e638ae86d6cf1d5b989fe56611.jpg)
[ManageEngine] how to make good use of the report function of OpManager

Understanding of smt32h7 series DMA and DMAMUX

Unity SKFramework框架(二十二)、Runtime Console 运行时调试工具

【sourceTree配置SSH及使用】

Node の MongoDB Driver

First understanding of structure

Evolution of Baidu intelligent applet patrol scheduling scheme

90%的人都不懂的泛型,泛型的缺陷和应用场景

How to improve the operation efficiency of intra city distribution
随机推荐
TDengine 已经支持工业英特尔 边缘洞见软件包
Node の MongoDB Driver
How to correctly evaluate video image quality
uni-app---uni.navigateTo跳转传参使用
Unity skframework framework (XXII), runtime console runtime debugging tool
SMT32H7系列DMA和DMAMUX的一点理解
The most comprehensive promotion strategy: online and offline promotion methods of E-commerce mall
Apache DolphinScheduler 入门(一篇就够了)
A keepalived high availability accident made me learn it again
Understanding of smt32h7 series DMA and DMAMUX
TDengine 连接器上线 Google Data Studio 应用商店
Observation cloud and tdengine have reached in-depth cooperation to optimize the cloud experience of enterprises
Community group buying has triggered heated discussion. How does this model work?
LeetCode 31. Next spread
Gradientdrawable get a single color
About getfragmentmanager () and getchildfragmentmanager ()
Community group buying exploded overnight. How should this new model of e-commerce operate?
Lepton 无损压缩原理及性能分析
卷起来,突破35岁焦虑,动画演示CPU记录函数调用过程
How to empty uploaded attachments with components encapsulated by El upload