Christopher Mederos
10/28/2024, 3:12 AMNavHost(...) {
navigation<Products>(startDestination = ProductCatalog) {
composable<ProductCatalog> {...}
composable<ProductDetail> {...}
composable<Support> {...}
}
navigation<Stores>(startDestination = StoresMap) {
composable<StoresMap> {...}
composable<StoreDetail> {...}
composable<Support> {...}
}
}
Also, how would you construct a deep link for this "Support" destination that is used in multiple graphs?Christopher Mederos
10/28/2024, 3:23 AMIan Lake
10/28/2024, 4:13 AMChristopher Mederos
10/28/2024, 4:35 AMStylianos Gakis
10/28/2024, 6:59 AMfun NavGraphBuilder.profile()
function which you can call from your :app module and put inside any other place, without those other modules having to know anything about it.
Or it can even expose two functions profileWithDeepLink
being the second one, or something like that 🤷