Apr 08 2023 09:08 AM
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!
Apr 10 2023 08:46 AM
Apr 10 2023 11:57 AM
Hi @tscholze and @Papes96, thanks for your questions.
Unfortunately, you're right that the current implementation does not support arguments in the list of routes. While we work on a fix for this, I hope you can continue to use the original TwoPaneLayout composable to provide more flexibility.
Sorry for the inconvenience and thanks for providing feedback!
May 01 2023 04:23 AM
@khalper Thanks for the tip!
Do you have any rough ETA on which the "new approach" will support parameters? :)
May 01 2023 02:09 PM
May 08 2023 05:54 PM