Skip to content

Instantly share code, notes, and snippets.

@raamcosta
Created January 8, 2022 23:04
Show Gist options
  • Save raamcosta/a5913bc87c64a01d91517d9cdec586b5 to your computer and use it in GitHub Desktop.
Save raamcosta/a5913bc87c64a01d91517d9cdec586b5 to your computer and use it in GitHub Desktop.
data class ProfileScreenNavArgs(
val id: Long,
val groupName: String?
)
//Then in the @Destination:
@Destination(
navArgsDelegate = ProfileScreenNavArgs::class
)
fun ProfileScreen() { /*...*/ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment