https://kotlinlang.org logo
Title
u

user

07/05/2022, 5:31 AM
Jetpack Compose Optional Arguments: What's the string between the braces {}? When working with optional arguments in Compose: What's the value between the braces? "item=" is the key. What is the purpose of the string within the braces? composable("Details?item={item}", arguments = listOf(navArgument("item") { this.type = NavType.StringType defaultValue = "Item not available!" })) {