LazyColumn(
modifier = Modifier.fillMaxSize(),
state = rememberLazyListState()
) {
item(
contentType = "header"
) {
Text(
text = "Header",
modifier = Modifier
.padding(16.dp)
.fillParentMaxWidth()
)
}
items(
count = 100,
contentType = { "item" }
) {
Text(
text = "Item : $it",
modifier = Modifier
.padding(16.dp)
.fillParentMaxWidth()
)
}
}
0 件のコメント:
コメントを投稿