hello guys. how to navigate to a nested graph and ...
# compose-android
b
hello guys. how to navigate to a nested graph and passing argument to it ?
Copy code
navController.navigate("profile") // here i want to send `userId`

    navigation(route = "profile", startDestination = "profile/{userId}") {
        composable("profile/{userId}") { backStackEntry ->
            Profile(navController, backStackEntry.arguments?.getString("userId"))
        }
    }