|
After adding mentioned dependencies I had a problem with the navigation component. Build output ,,cannot find symbol method getBackStack()" |
Answered by
danilo576
Jan 27, 2023
Replies: 2 comments 2 replies
|
created a issue for the bug #206 |
1 reply
|
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! |
1 reply
Answer selected by
danilo576
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

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!