Tap screen repeatedly on app starting, navigation unknown destination error occur
See original GitHub issueOverview (Required)
- Tap screen repeatedly on app starting, unknown destination error occur at below
SpeechSessionItem.kt l.63
navController.navigate(detailNavDirections)
Steps To Reproduce
- Swipe kill the app
- Repeat tapping the screen during app is starting
java.lang.IllegalArgumentException: navigation destination io.github.droidkaigi.confsched2019.debug:id/action_session_to_session_detail is unknown to this NavController
occur
Expected behavior No exeption will be thrown.
Screenshots
Env:
- Device: Essential Phone PH-1
- OS: 9.0
- App Version: master (Fixed # 656)
Additional context none
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
IllegalArgumentException: navigation destination xxx is ...
We can use a navigateSafe() function that checks to see if the destination that we're trying to navigate to is invalid from the...
Read more >[SOLVED] Fix Google Maps Not Working on Android - iMobie
Tap Settings on your Android phone > Apps > Scroll down to find Google Maps > Click on the Store option and then...
Read more >Navigate to a destination - Android Developers
Navigating to a destination is done using a NavController , an object that manages app navigation within a NavHost .
Read more >Troubleshooting app protection policy user issues
This article provides solutions to common user issues and error messages related to Intune app protection policies.
Read more >A fix for “Navigation action cannot be found in the current ...
The crash occurs because the first invocation of findController.navigate() takes the app to a different screen/destination, on the second ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Probably, the cause is multiple tapping.
If I rewrite SpeechSessionItem(line: 63) like this, then same error occurred.
navigate to detail from detail, it is not defined in navigation graph. so we got the crash.
on branch master build, 2 sessions clicked at the same time then got this error.
Thanks! I can reproduce it 👍