Summary
This chapter covered the most important navigation techniques you need to know about to create clear and consistent navigation in your apps. You started by learning how to build screen structure with Scaffold
and slots, after which you proceeded to create a navigation graph to navigate between destination composables using routes. Here, you were introduced to the navigation drawer pattern so that you can connect navigation menu items to composables.
Then, you implemented bottom navigation to display primary navigation destinations that are always visible on the screen. We followed this by looking at tabbed navigation, where you learned how to display scrollable tabs. For each navigational pattern, you were shown when it might be more suitable, depending on the type of app you are building. You finished this chapter by building your own app using one or more of these navigational patterns.
In the next chapter, you will build on this knowledge by using Android libraries...