Several years have passed since Jose Alcérreca published his article on “The SingleLiveEvent Case”. This article was a great launching point for many developers as it got them thinking about different communication patterns between ViewModels and the associated View, be it a fragment or an activity.
There have been many responses to the SingleLiveEvent
case about ways to improve upon the pattern. One of my favorites was written by Hadi Lashkari Ghouchani.
However, both those cases still used LiveData as a backing data store. I feel there is still room to improve, especially with the use of Kotlin coroutines and…
Android software developer with Lumeca Health, formerly Android developer at GasBuddy.