--

Until you emit two back to back events before an observer can consume them. Then poof, one of those events gets stepped on and is never consumed.

To demonstrate the issue, emit two events in the view model's init. Granted this is a contrived scenario but it demonstrates how emitting data before observers are consuming the data will result in loss.

--

--

Michael Ferguson
Michael Ferguson

Written by Michael Ferguson

Android software developer. Views and opinions expressed are my own and not that of my employer.

Responses (1)