Zan Skamljic
06/04/2021, 6:39 AMErnestas
06/04/2021, 7:40 AMZan Skamljic
06/04/2021, 7:41 AMErnestas
06/04/2021, 7:43 AMJérémy CROS
06/04/2021, 8:10 AMgildor
06/04/2021, 8:12 AMZan Skamljic
06/04/2021, 8:16 AMgildor
06/04/2021, 8:17 AMZan Skamljic
06/04/2021, 8:19 AMZan Skamljic
06/04/2021, 8:20 AMgildor
06/04/2021, 8:20 AMgildor
06/04/2021, 8:27 AMPerhaps you used StateFlow insteadit will not work as SingleLiveEvent, there is no way to deliver event ony to fist subscriber
gildor
06/04/2021, 8:29 AMZan Skamljic
06/04/2021, 8:30 AMZan Skamljic
06/04/2021, 8:31 AMgildor
06/04/2021, 8:32 AMhaving more observers seems wrong to meAlso true! But if you have a bug, and you got a leak, new observer will receive no events
gildor
06/04/2021, 8:32 AMthis didn’t prove to be an issue so farUntil it becomes issue Again, it’s just one of arguments, because implementation is hacky everyone uses this snippet from Android blog and has issue to apply with Flow/Observable