-
After adding mentioned dependencies I had a problem with the navigation component. Build output ,,cannot find symbol method getBackStack()" |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
created a issue for the bug #206 |
Beta Was this translation helpful? Give feedback.
-
I solved this problem by replacing navController.getBackStack().getLast().getDestination().getId() with navController.getCurrentBackStackEntry().getDestination().getId() and everything works as we expect. This lib is really powerful! |
Beta Was this translation helpful? Give feedback.
I solved this problem by replacing navController.getBackStack().getLast().getDestination().getId() with navController.getCurrentBackStackEntry().getDestination().getId() and everything works as we expect. This lib is really powerful!