Skip to content

A simple app that demonstrates the popBackStack() issue that could happen when user clicks the button multiple times fast resulting in unintended popping the navigation

License

Notifications You must be signed in to change notification settings

raheemadamboev/pop-back-stack-issue

Repository files navigation

pop-back-stack-issue

If popBackStack() function of nav-controller is used to pop the last screen on user action, it can pop more than one screen when the button is clicked multiple times fast.

navigateUp() of nav-controller should be used when the last screen needs to be popped on user action. This function won't pop more than one screen when the button is clicked multiple times fast.

Download demo

Download demo

About

A simple app that demonstrates the popBackStack() issue that could happen when user clicks the button multiple times fast resulting in unintended popping the navigation

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages