Android, Navigation Component, Jetpack Compose, Kotlin, AndroidDev.
backStackEntry.arguments?.getString("name") ProfileScreen(userId, name) } New Way (Type-Safe Navigation with Kotlin DSL) By leveraging Kotlin’s type-safe properties and Kotlin Serialization, the new navigation system significantly improves the navigation experience. // Navigate to profile details