Android, Jetpack Compose, Android App Development, Mobile App Development, Programming.
data class with the values, which you need. navController.navigate( Routes.SecondScreen(customPrimitive = "Custom primitive string") ) Fourthly, to get your values back, use the backStackEntry to get your value and use the value for your next screen. composable<Routes.SecondScreen> {backStackEntry