https://kotlinlang.org logo
#compose
Title
# compose
f

Fyodor Danilov

10/05/2023, 1:22 PM
How can I pass argument to compose navigation with slashes inside? I have a route "serviceCreation/priceSelector/$priceItemUi". In priceItemUi I have a string that may have multiple slashes (/). It breaks navigation because it thinks that it's a different route.
solved 1
j

jw

10/05/2023, 1:25 PM
Never used navigation but sounds like you need to url encode the value
1
f

Fyodor Danilov

10/05/2023, 1:28 PM
Thanks, it worked!