Forum Discussion

Papes96's avatar
Papes96
Copper Contributor
Apr 08, 2023

is TwoPaneBackStackEntry composable list of routes incompatible with arguments / URI Routes?

Hello,

I am doing some tests on the SDK and have encountered a roadblock. Currently, my application uses route arguments to find item details. However, upon navigating to them, the following exception is returned:

java.lang.IllegalArgumentException: Invalid route item/4, not present in list of routes [home?, items?, item/{itemId}, ...]

 
I am unsure if this is a problem stemming from the fact that listOf[Routes] cannot take into account those values or if it is an error on my end. Could you please clarify?

Thank you for all your hard work!

Resources