Arpit Shukla
data class Category ( val title: String, val items: List<String> )
Category
LazyColumn { items(list) { category -> Text(text = category.title) category.items.forEach { item -> Text(text = item) } } }
this@LazyColumn.items(category.items)
Albert Chang
LazyColumn { list.forEach { category -> item { Text(text = category.title) } items(category.items) { item -> Text(text = item) } } }
A modern programming language that makes developers happier.