Use SavedStateHandle effectively to receive arguments directly in ViewModel while navigation between composables or fragments in Android. Learn how to pass a parcelable navigation type objects and write a simple test case by mocking retrieved data.
Build android app with compose which follows guide to app architecture principles. Implement UI and Data layer built with ViewModels, Coroutines, States.
When developing any mobile app, it is very important that we think about how the user will move through our app. One of the best ways to help users navigate through an app is to include a Bottom Navigation Bar. Let's see how we can implement one in Jetpack Compose!
Learn how to build a simple navigation flow between list and detail composable destinations using jetpack compose in android. Build a simple app which shows cats using NavHost, NavController, NavArguments.
Navigation is part of Android Jetpack which handles everything needed for an app navigation. With SafeArgs, NavArgs and place to visualize all app destinations at one place. Learn with example I have created in this article.
Easy to implement and whole app navigation at one place, with visual code editor which connects different destinations using actions. Learn how to implement SafeArgs with this article. Also check the my example available in Github.
Pass data between destinations using Safe Args along with ViewModel, LiveData with this simple android app. Navigation is part of Android Architecture Components which helps to visualize and build an app which navigates properly between different destinations.