NavigationResult icon indicating copy to clipboard operation
NavigationResult copied to clipboard

ERROR WITH CONTEXT DETACHMENT

Open ElijahGM opened this issue 5 years ago • 2 comments

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

ElijahGM avatar Oct 14 '20 18:10 ElijahGM

This exception is related to the NavigationComponent it self. You may want to report this through https://issuetracker.google.com.

PHELAT avatar Oct 16 '20 08:10 PHELAT

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();
}

ElijahGM avatar Nov 11 '20 09:11 ElijahGM