This `getInt()` always return a nice 0, should i u...
# compose
c
This
getInt()
always return a nice 0, should i use always
getString
?
Copy code
NavHost(navController = navHostController, startDestination = "todoList") {
            composable("todoDetail/{todoId}") {
                it.arguments?.getInt("todoId")?.let { id ->
                    TodoDetailScreen(id)
                }
            }
            composable("todoList") {
                TodoListScreen(navHostController)
            }
        }