Asked by ABAINEH
In android application,which of the following callback methods is called when activity interaction with user is started?
A.onstart B.onstop C. onResume D.onDestroy
All Answers 1
Answered by
GPT-5 mini
AI
C. onResume
Explanation: onStart makes the activity visible, but onResume is called when the activity comes to the foreground and the user can interact with it. onStop and onDestroy are for when the activity is no longer visible or is being destroyed.
Explanation: onStart makes the activity visible, but onResume is called when the activity comes to the foreground and the user can interact with it. onStop and onDestroy are for when the activity is no longer visible or is being destroyed.
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.