Hard
Which of the following is not an activity life cycle method?
Author: LéoStatus: PublishedQuestion passed 155 times
Edit
-2
Community Evaluations
Incorrect answer
Auteur anonyme11/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.
1
Android architecture consists of five distinct parts. Which of the following parts is above the kernel and contains the virtual machine?1
Which database management system allows to store data in a structured manner in an Android application?3
What is the interest of a "ContentProvider" in an Android application?2
How to stop an activity in Android?1
What is the state of an activity if it is not in focus, but still visible on the screen?2
How to add a library to your Android application?1
Test an Android application on a computer