Added a confirm exit dialog to all the top level activities. Pressing the back button in a top level activity will now open the drawer. Pressing it again will prompt the user to confirm before exiting the app.
Each top level activity that we create now needs to call super.setAsTopLevel() to enable the drawer indicator and confirm exit dialog.
Added a confirm exit dialog to all the top level activities. Pressing the back button in a top level activity will now open the drawer. Pressing it again will prompt the user to confirm before exiting the app.
Each top level activity that we create now needs to call super.setAsTopLevel() to enable the drawer indicator and confirm exit dialog.