raamcosta / compose-destinations

Annotation processing library for type-safe Jetpack Compose navigation with no boilerplate.
https://composedestinations.rafaelcosta.xyz
Apache License 2.0
3.14k stars 129 forks source link

Multiple DestinationsNavHost #651

Closed KarolCieslar closed 2 weeks ago

KarolCieslar commented 2 weeks ago

Hi, i want to create separate library using ComposeDestinations to navigate between screens.

In my library i have DestinationsNavHost which contains all destinations of this library image

Here is my demo app DestinationsNavHost implementation image

Here is my library DestinationsNavHost implementation image

So the structure is

DestinationsNavHost (from demo app)

I got error when i try to open library screen from demo app java.lang.NoSuchMethodError: No virtual method getIssuerSdkMain()Lcom/ramcosta/composedestinations/generated/navgraphs/IssuerSdkMainNavGraph; in class Lcom/ramcosta/composedestinations/generated/NavGraphs; or its super classes