Android, Jetpack Compose, AndroidDev, Software Architecture.
an extension of the NavController. It allows us to navigate to the given screen. Second one extends NavGraphBuilder. We use it to include selected screen as a destination in the NavHost . const val LOGIN_ROUTE = "login" fun NavController.navigateToLogin() { navigate(LOGIN_ROUTE) } fun