Jetpack ViewModel and string resources

When writing my ViewModels I try hard to make them as Android-independent as possible. But in the real world, that's not so easy. The most common Android system dependency for a ViewModel, is the string resources.…

Multiple navigation graphs (with bottom navigation bar)

What if you have your navigation graph with all your screens, but one screen contains a navigation UI (e.g. a bottom navigation bar)? This is a common scenario if you are having some part of the app where users are not required to be logged in, but you switch layout after they log in.…