val products by viewModel.productEntryFlow.collectAsState(listOf())
LazyColumn {
items(products) {
Text(it.content + " Done: ${it.doneBy != null}")
}
}
And that kinda works fine when the list itself gets modified (gets new entries etc) but it doesn't work when a single item changes e.g. the "doneBy" property is now null.
If I collect the flow manually I see the changes but not with collectAsState. Can I fix that?. productEntryFlow is a Flow from SQLDelight and as I said manually collecting the flow works