Kshitij Patil
12/02/2020, 4:39 PMcollectAsState()
or adding each element in a local MutableSnapshotList
using something like onEach
or collect { }
Flow<List<T>>
in the dao instead of Flow<T>
to get all the itemsGiorgos Neokleous
12/02/2020, 6:23 PMcollectAsState
feels more idiomatic. Adding to the snapshot list feels like trying to fit imperative habits into it 🤷♂️ That's my opinion thoughKshitij Patil
12/02/2020, 9:03 PMFlow<List<T>>
and compose's collectAsState
I was easily able to achieve the same