Rik van Velzen
Aug 31, 2021

--

Great summary Jose.

The added boilerplate I need to write though (e.g. ...lifecycleScope.launch & ..lifecycle.repeatOnLifecycle...) whenever I want to observer a Flow doesn't make me happy and looks ugly.

Instead of the oldskool-way of directly calling observe on a LiveData now I always have to add 2 wrappers around my .collect function call?!

Any improvements/solutions there?

--

--