was trying call the first element of a `mutableSt...
# compose-desktop
a
was trying call the first element of a
mutableState
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()
d
The code inside the
LazyColumn
is not
Composable
, only code inside
items
and
item
. Try something like:
Copy code
val list = derivedStateOf { state.first() }
LazyColumn {
  items(list) {}
}