Does compose navigation support `NavType.StringArr...
# compose
Does compose navigation support
in routes? If so how should the route look like?
🚫 1
You can write your own parsers for any type you want:
but generally, you're misusing routes if you're passing lists of data directly as arguments. It would be helpful if you could explain what you are trying to do to avoid an XY Problem:
Thanks Ian! It's a "compose new message" screen, whose recipients box might be prefilled. We want to pass these optional recipients (e.g. contact ids) to this screen, ideally with the same format used by our server: . A custom type should work though I guess we can't have multiple
s in the route.
We don't support duplicate query parameters at the moment, but I think that would actually be a pretty solid feature request to automatically support parsing array types if you'd like to file one:
👍 1