When the user returns to MainActivity from SecondActivity, MainActivity calls:
- onCreate() only
- onPause()
- onDestroy()
- onRestart(), onStart(), onResume()
Answer
D) onRestart(), onStart(), onResume()
A stopped activity restarts when it becomes visible again.
Computer Science MCQ · More Lab: Multiple Activities and Navigation MCQs · Practise