When the user presses Home, the activity's callbacks are:
- onRestart() then onStart()
- onDestroy() only
- onCreate() then onResume()
- onPause() then onStop()
Answer
D) onPause() then onStop()
The activity becomes invisible: onPause() then onStop().
Computer Science MCQ · More Android OS: Architecture, Framework and Application Development MCQs · Practise