Android, Jetpack Compose, Android App Development, Mobile App Development, Programming.
generic FirstScreen(onNavigateForward = { // passing object for seconds class navController.navigate( Routes.SecondScreen(customPrimitive = "Custom primitive string") ) }) } composable<Routes.SecondScreen> {backstackEntry -> // unpacking the back stack entry to obtain our value val customValue =