Adam Hurwitz
1 min readJun 8, 2020

--

This is a clear and concise implementation. Well done!

In order to create ViewModel’s based on a navigation graph, I've found

’s ViewModelsUtils.kt, outlined in this post, useful. For managing shared business logic across Fragments and flows this seems like a good solution to manage the lifecycle of that data.

--

--

Adam Hurwitz

An account about nothing | Researcher and product consultant