I am having issue with the new Android Navigation Architecture component when I try to navigate from one Fragment to another, I get this weird error:
I wrote this extensions
fun Fragment.navigateAction(action: NavDirections) { val navController = this.findNavController() if (navController.currentDestination?.getAction(action.actionId) == null) { return } else { navController.navigate(action) } }