Image for post
Image for post
Photo by Phil Goodwin on Unsplash

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…

Michael Ferguson

Android software developer with Lumeca Health, formerly Android developer at GasBuddy.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store