Hey there I'm working on a project with feature m...
# compose
v
Hey there I'm working on a project with feature modules and compose navigation, I've been searching for approaches using compose navigation but all of them seems to centralize navigation in a single spot and I was wondering, is there any way I can have multiple independent graphs just like we already have with jetpack navigation nested graphs?
i
You don't build multiple independent NavHosts, you build multiple independent graphs:
fun NavGraphBuilder.yourModuleProvidedGraph() { }
. See this blog for more details: https://medium.com/google-developer-experts/navigating-in-jetpack-compose-78c78d365c6a#53f9
👋 1
v
Yes graphs that's the right term, it was exactly what I was looking for thanks android dance