My business want me to create a structure that I don't need to define any composable first inside NavHost, so there are any ways to customize NavGraphBuilder that help me to define composable inside NavHost whenever I use navHost.navigate(Detail()) ?
s
Stylianos Gakis
07/16/2024, 6:56 AM
No, you need to have defined all destinations in order to be able to navigate to them in the first place