Maxime Vince
01/12/2024, 12:48 AMobject HomeNavGraphs {
val home = object : NavGraphSpec {
override val route = "home"
override val startRoute = PoiNavGraphs.pois.startRoute routedIn this
override val nestedNavGraphs = listOf(ExpenseNavGraphs.expenses, PoiNavGraphs.pois, ProfileNavGraphs.profile)
override val destinationsByRoute = mutableListOf<DestinationSpec<*>>().apply {
addAll(NavGraphs.root.destinations)
}.toList().routedIn(this).associateBy { it.route }
}
}
Rafael Costa
01/12/2024, 10:34 PMRafael Costa
01/12/2024, 10:34 PM