AND-401 Exam QuestionsBrowse all questions from this exam

AND-401 Exam - Question 68


Which of the following methods is called first in an Activity when another activity gets into the foreground?

Show Answer
Correct Answer: B

When another activity comes into the foreground, the current activity first calls the onPause() method. This allows the activity to pause ongoing tasks and release resources that may be needed by the new activity.

Discussion

1 comment
Sign in to comment
MmadiOption: B
Dec 31, 2022

B. onPause()