Ionut Costan
06/29/2020, 9:49 AMval dest = navController.navigatorProvider.getNavigator(
FragmentNavigator::class.java
)
.createDestination().apply {
id = uniquesId
setClassName(HomeFragment::class.qualifiedName!!)
label = component.mainTitle ?: "NoTitle given"
}
// dest.putAction(actionID, navGraph.startDestination)
navGraph.addDestination(dest)
but when a configChange occurs the app crashes because it cannot find the destination with uniquesId. Any ideas why?