Multiple choice technology platforms and products

The foreground lifetime of an activity happens between a call to onResume() until a corresponding call to onStop().

  1. True

  2. False

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

The foreground lifetime of an activity occurs between the call to onResume() and the corresponding call to onPause(), during which the activity is in the foreground and interacting with the user.