Multiple choice

Which of the following things should be remembered about activities? A. The system will aggressively destroy your activity when it’s not visible to the user. B. As all the callbacks run on the main thread, so you should not perform any long-running or computationally expensive operations in those callbacks.

  1. Only A

  2. Only B

  3. Both A and B

  4. Neither A nor B

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

Option (3) is correct.