Introduction
In the previous chapter, you explored fragments and the fragment lifecycle, and employed Jetpack navigation to simplify their use in your apps. In this chapter, you will learn how to add different types of navigation to your app while continuing to use Jetpack navigation. You will start off by learning about the navigation drawer, the earliest widely adopted navigational pattern used in Android apps, before exploring bottom navigation and tab navigation. You'll learn about the Android navigation user flow, how it is built around destinations, and how they govern navigation within the app. The difference between primary and secondary destinations will be explained, as well as which one of the three primary navigation patterns is more suitable, depending on your app's use case.
Let's get started with a navigation overview.