LazyColumn vs Scrollable Column
Know why lazy lists scale.
The Long-List Problem
When a list has hundreds of rows, you can't draw them all at once. You need a list that only builds what's actually visible on screen.
A Plain Column Builds Everything
A regular Column composes every single child immediately, even rows far below the screen. With long data, that wastes memory and time.
Column {
items.forEach { Text(it) }
}All lessons in this course
- LazyColumn vs Scrollable Column
- items & itemsIndexed
- Keys for Stable, Fast Lists
- Sticky Headers & Section Lists