使用 compose LazyColumn 我想要一张用于标题项目的卡片,以及一张包含其余项目的卡片。
LazyColumn() {
item {
Card() { // header card}
}
// would like all items in single card
Card() { // cannot do this, outside composable function
items(myItems) { item ->
// item here
}
}
}
这样的事情可能吗?