Jetpack Compose LazyColumn List Example
Build a list in Jetpack Compose with LazyColumn, Card and click handling. A complete step-by-step Kotlin example with a fruit list app.
Build a list in Jetpack Compose with LazyColumn, Card and click handling. A complete step-by-step Kotlin example with a fruit list app.
Short answer: a Column in Jetpack Compose does not scroll by default. For a small, fixed amount of content, add Modifier.verticalScroll(rememberScrollState()) to the Column. For long or dynamic lists, use LazyColumn instead, because it only composes the items that are visible. This guide shows both approaches with Kotlin code you can copy, explains when to … Read more