AND-401 Exam QuestionsBrowse all questions from this exam

AND-401 Exam - Question 104


Which of the following is a valid sequence of invokes to Activity lifecycle methods? (Select Two)

Show Answer
Correct Answer: BC

The valid sequences of invokes to Activity lifecycle methods are onCreate > onStart > onResume > onPause > onStop > onRestart and onCreate > onStart > onResume > onPause > onStop > onDestroy. In the Android Activity lifecycle, after onStop, an activity can either transition to onRestart before moving back to onStart, or it can go to onDestroy if it is being finished.

Discussion

1 comment
Sign in to comment
MmadiOptions: BC
Dec 31, 2022

B. onCreate > onStart > onResume > onPause> onStop>onRestart C. onCreate > onStart > onResume > onPause> onStop>onDestroy