Join Slack
Powered by
hello guys, is there any good way of handling mult...
# android
i
Illustrator
12/11/2021, 8:46 AM
hello guys, is there any good way of handling multiple load states in viewmodel using flows?
a
Ali Mohseni
12/11/2021, 10:54 AM
I know this is very general but try the MVI pattern.
k
K Merle
12/11/2021, 6:41 PM
https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/combine.html
👌 1
a
Aidan Low
12/11/2021, 7:21 PM
At the risk of shameless self-promotion, there are some thoughts on this at
https://proandroiddev.com/coordinating-multiple-view-visibility-with-flow-and-the-combine-operator-6ecceaadd37c
, may be helpful, may be not.
Open in Slack
Previous
Next