Medium
Which of the following is not an activity life cycle method?
Author: LéoStatus: PublishedQuestion passed 129 times
Edit
-1
Community Evaluations
Incorrect answer
Narek11/11/2024
onCreate(): This is an activity lifecycle method, called when the activity is first created.
onBackPressed(): While not a traditional lifecycle method, onBackPressed() is part of the activity’s callback methods, allowing customization of behavior when the back button is pressed.
onStart(): This is a lifecycle method, called when the activity becomes visible to the user.
onClick() is not an activity lifecycle method; instead, it is a callback for handling click events on UI elements like buttons.
Similar QuestionsMore questions about Android
3
What is the interest of a "ContentProvider" in an Android application?2
How to add a library to your Android application?1
Test an Android application on a computer1
Which database management system allows to store data in a structured manner in an Android application?1
Android architecture consists of five distinct parts. Which of the following parts is above the kernel and contains the virtual machine?