Kotlin, Android, Jetpack Compose, App Development, Programming.
"${NoteNavigation.ViewNoteRoute}/{noteId}", arguments = listOf(navArgument("noteId") { type = NavType.IntType }) ) { entry -> val noteId = entry.arguments?.getInt("noteId") ?: -1 ViewNoteScreen(navController = navController, noteId = noteId) } composable(route = SettingsNavigation.SettingsRoute) {