0

I have my android multi-module app made in kotlin. Within the feature module, there is a submodule myitems, in which there are the following submodules: data, domain, navigation and presentation. I have delegated the navigation to another module called core, specifically to a submodule called navigaiton, becoming the parent node of the navigation and delegating to each feature its own navigation (core.navigation), so that in my feature-myitems I have a method to register the subgraph that corresponds to it. This sets the navigation network of the feature, indicating the startDestination and other Screens, since the app is made in Jetpack Compose.

So, the screens are defined within the submodule feature.myitems.presentation, but the navigation subgraph is defined in the submodule feature.myitems.navigation. Should the latter (feature.myitems.navigation) have access to the screen (feature.myitems.presentation)?

In case of not being like this, how would you then organize the navigation through modules using compose for screens? Thanks

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.