Which is the good place to ask user, whether (s)he wants to exit the app when (s)he clicked the back button? I considered the onPause and onStop, but t
The best place is in the onBackPressed. the only thing you need to keep in mind is that the app behaves 'normally' - that is when the user pressed back they should go to the previous screen - if they press back on the main screen, then it's good to ask if they meant to quit the app.