Suppose you have a simple button, when clicked it calls navController.navigate(destination).
Now, if you double-tap it or press it quickly multiple times, multiple navigate() calls will be invoked.
I'd love to prevent this kind of behavior, an option to prevent navigating to the same destination would be great.
Another option would be to expose some kind of property to let apps know navController is currently performing a navigation, so they could disable screen events during the transition.
Suppose you have a simple button, when clicked it calls navController.navigate(destination).
Now, if you double-tap it or press it quickly multiple times, multiple navigate() calls will be invoked.
I'd love to prevent this kind of behavior, an option to prevent navigating to the same destination would be great.
Another option would be to expose some kind of property to let apps know navController is currently performing a navigation, so they could disable screen events during the transition.