You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting at version nav components versions 2.1.0-alpha03 my code will crash the app by doing the following:
Nav to BlogFragment
Press back
Nav to BlogFragment
The problem seems to be the childFragmentManager. If you pop from there it removes the graph along with the last fragment, which causes the "Destination not part of this NavGraph" exception when you then try to navigate forward again.
The text was updated successfully, but these errors were encountered:
The only reason I can think of that would cause this is I was using the childFragmentManager incorrectly. I suppose you should only use childFM if you set a FragmentFactory to generate the fragments from? Like I did in Espresso course. Not 100% sure.
Starting at version nav components versions 2.1.0-alpha03 my code will crash the app by doing the following:
The problem seems to be the childFragmentManager. If you pop from there it removes the graph along with the last fragment, which causes the "Destination not part of this NavGraph" exception when you then try to navigate forward again.
The text was updated successfully, but these errors were encountered: