Exam AND-401 All QuestionsBrowse all questions from this exam
Question 104

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

    Correct Answer: B, C

    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
MmadiOptions: BC

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