https://kotlinlang.org logo
#android
Title
# android
c

coroutinedispatcher

10/27/2020, 3:50 PM
Hey guys. I wrote a short article about the usage of
SharedFlow
in Android: https://coroutinedispatcher.com/posts/shared-flow/
👍 3
c

Colton Idle

10/27/2020, 11:03 PM
Thanks for this write up! I learned something new!
g

gildor

10/27/2020, 11:39 PM
I don't think that suggested solution and overall architecture is good Code looks quite strange and awkward to handle it with side effect with this manual setting idld it falls apart if you have more than 1 destination I think approach with consumable event works much better for such case (same as for livedata)
👍 1