Ananiya
09/14/2022, 8:31 PMmutableState
containing List<List<Any>>
before passing it LazyColumn
items()
but every time I tried so am introduced with Compose Disposed, the List is empty
which normally isn't empty if you passed the whole list of list through LazyColumn
items()
Dragos Rachieru
09/22/2022, 8:06 AMLazyColumn
is not Composable
, only code inside items
and item
.
Try something like:
val list = derivedStateOf { state.first() }
LazyColumn {
items(list) {}
}