Skip to content

Instantly share code, notes, and snippets.

@raamcosta
Created January 8, 2022 23:04
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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