Use "PopUpTo" to clean the stack between
zinark-martin opened this issue · 1 comments
zinark-martin commented
When navigating to a destination, use "app: popUpTo" to set the target fragment, will clean the return stack between, so that when the user go to the notesFragment after save the note and press the back button, he/she won't go back to the previous detailsFragment again
https://developer.android.com/guide/navigation/navigation-navigate
Spikeysanju commented
Thanks for pointing it out. Issue fixed in the latest build 👍