07-20-2023, 06:45 AM
I am having an issue with the new Android Navigation Architecture component when I try to navigate from **one Fragment to another**, I get this weird error:
java.lang.IllegalArgumentException: navigation destination XXX
is unknown to this NavController
Every other navigation works fine except this particular one.
I use `findNavController()` function of Fragment to get access to the `NavController`.
Any help will be appreciated.
java.lang.IllegalArgumentException: navigation destination XXX
is unknown to this NavController
Every other navigation works fine except this particular one.
I use `findNavController()` function of Fragment to get access to the `NavController`.
Any help will be appreciated.