https://kotlinlang.org logo
#compose
Title
# compose
z

zt

03/07/2023, 3:35 PM
Is it better to use a Column or a LazyColumn for app settings?
m

mgrazianodecastro

03/07/2023, 3:51 PM
does you app settings scroll over the screen?
z

zt

03/07/2023, 3:55 PM
yes
m

mgrazianodecastro

03/07/2023, 3:58 PM
I would probably go for a simple Column, just out of principle. But, if the scroll is big, or the composables have complex logic (like rendering an image), I would go with Lazy Column
z

Zach Klippenstein (he/him) [MOD]

03/07/2023, 5:06 PM
It should be a pretty low-risk decision unless you’re doing something complicated with scrolling. Changing between them could be as simple as replacing a
rows.forEach {}
with
items(rows) {}
6 Views