What is the recommended way to handle back button presses in an app that contains many Fragments accessible via a navigation drawer? I see two possibilities:
- add all Fragments to the back stack, so that when the user presses the back button he(she) returns to the previous Fragment;
- no matter how many fragments users pass through, always exit the app when the back button is pressed.
I have always previously used the first method, but recently I received some feedback asking me to switch to the second method.