Android, Navigation Component, Jetpack Compose, Kotlin, AndroidDev.
route = "profile/{userId}/{name}", arguments = listOf( navArgument("userId") { type = NavType.IntType nullable = false }, navArgument("name") { type = NavType.StringType nullable = true } ) ) { backStackEntry -> val userId = backStackEntry.arguments?.getInt("userId") ?: 0 val name =