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 Gabor Varadi’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.