pagetitle
Marketing
Sophia Smith
Aug 10, 2024

Building a navigation component with designs

blog
Android navigation component

This library can help with complex navigation, transition animations, deep linking, and argument passing. It also includes the Safe Args Gradle plug-in and tooling. To add a NavGraph, you can use the Kotlin DSL to construct it as part of the NavHost or programmatically using the NavController.

Top navigation

This component provides a heading for the entire page, and can include a title and actions.

Navigation graph

You can define an action in the navigation graph using the Kotlin DSL. This generates a corresponding NavAction class that contains the configurations for that action.