page on recyclerView item click, and passing the value of the item to the DetailFragment. It works but whenever I change the theme while the app is running, it just crashes... Here is the crash log (just basically says no direction found for current direction):
java.lang.IllegalArgumentException: Navigation action/destination dev.atahabaki.wordbook:id/action_nav_menu_wordbook_to_editFragment cannot be found from the current destination Destination(dev.atahabaki.wordbook:id/editFragment) label=EditFragment class=dev.atahabaki.wordbook.ui.word.EditFragment
at androidx.navigation.NavController.navigate(NavController.java:940)
at androidx.navigation.NavController.navigate(NavController.java:877)
at androidx.navigation.NavController.navigate(NavController.java:863)
at androidx.navigation.NavController.navigate(NavController.java:1159)
Any ideas how can I fix this issue? It's not really a big issue at all but I want to know how could I fix it...
!paste
To post more than a few lines of code, use a pastebin like: hastebin.com dpaste.org linkode.org bin.kv2.dev If you are stuck in a terminal, you can use ix.io or paste.rs to paste from the CLI: <command to print output> |& curl -F 'f:1=<-' ix.io <command to print output> |& curl --data-binary @- https://paste.rs
Обсуждают сегодня