NavigationResult
NavigationResult copied to clipboard
ERROR WITH CONTEXT DETACHMENT
Describe the bug: The app randomly throws this errors, although the navigation path is properly defined
Navigation action/destination <yyy> cannot be found from the current destination Destination <xxx> label=XXXclass
Fragment Fragment{c7b8c3d} (8af9e5d9-7257-4ddd-a266-38975675c23e)} not attached to Activity
This exception is related to the NavigationComponent it self. You may want to report this through https://issuetracker.google.com.
Is it possible to use try catch on the com.phelat.navigationresult.BundleFragment.navigate() function , the current is not able to capture it
try {
navigate(R.id.action_loginFragment_to_dashboardFragment,0);
}catch (Exception e){
e.printStackTrace();
}