当前位置:网站首页>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")
}
}
}
非常不错
边栏推荐
- Project practice | excel export function
- Why does everyone want to do e-commerce? How much do you know about the advantages of online shopping malls?
- Principle and performance analysis of lepton lossless compression
- cent7安装Oracle数据库报错
- Vs code problem: the length of long lines can be configured through "editor.maxtokenizationlinelength"
- SQL learning - case when then else
- 百度智能小程序巡检调度方案演进之路
- 写入速度提升数十倍,TDengine 在拓斯达智能工厂解决方案上的应用
- [app packaging error] to proceed, either fix the issues identified by lint, or modify your build script as follow
- Idea debugs com intellij. rt.debugger. agent. Captureagent, which makes debugging impossible
猜你喜欢

How Windows bat script automatically executes sqlcipher command

Principle and performance analysis of lepton lossless compression

使用el-upload封装得组件怎么清空已上传附件

Data visualization platform based on template configuration

百度交易中台之钱包系统架构浅析

TDengine可通过数据同步工具 DataX读写

Dry goods sorting! How about the development trend of ERP in the manufacturing industry? It's enough to read this article

Why does everyone want to do e-commerce? How much do you know about the advantages of online shopping malls?

Tdengine can read and write through dataX, a data synchronization tool

Small program startup performance optimization practice
随机推荐
一次 Keepalived 高可用的事故,让我重学了一遍它
Understanding of smt32h7 series DMA and DMAMUX
代码语言的魅力
uni-app---uni. Navigateto jump parameter use
Unity SKFramework框架(二十三)、MiniMap 小地图工具
Common fault analysis and Countermeasures of using MySQL in go language
MySQL does not take effect in sorting string types
Dry goods sorting! How about the development trend of ERP in the manufacturing industry? It's enough to read this article
Android 隐私沙盒开发者预览版 3: 隐私安全和个性化体验全都要
[team PK competition] the task of this week has been opened | question answering challenge to consolidate the knowledge of commodity details
LeetCode 31. Next spread
百度交易中台之钱包系统架构浅析
Android SQLite database encryption
【对象数组的排序】
LeetCode 556. Next bigger element III
What should we pay attention to when developing B2C websites?
Are databases more popular as they get older?
SQL learning alter add new field
【数组的中的某个属性的监听】
Node の MongoDB Driver