Multiple choice technology platforms and products

The following method is called when the system is about to start resuming another activity

  1. onStop()

  2. onPause()

  3. onRestart()

  4. onDestroy()

  5. None of above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

onPause() is called when the system is about to resume another activity. This method signals that your activity is no longer in the foreground - the user is navigating away, a notification is appearing, or another activity is being launched. It's the last guaranteed callback before the system can kill the process.