What will be the Ideal approach to build a screen ...
# compose
a
What will be the Ideal approach to build a screen (column) with a vertical scroll and multiple unique composables?
I have a screen with multiple views (unique). My current approach is
Copy code
LazyColumn {
  item { View1() }
  item { View2() }
  .. 
  item { ViewN() }
}
but I am not sure if it's the most efficient. I end up writing a lot within a single
LazyColumn
a
You can use LazyListScope extensions to make smaller functions and keep your LazyColumn smaller and neat. If you do not need the content to be lazy loaded , then a column with a .verticalScroll should be good enough.
👍 1
a
So, LazyColumn is the ideal way to tackle this, right?
1