When only onDestroy is called for an activity without onPause() and onStop()?
Answers
Answered by
0
Answer:
onPause() and onStop() will not be invoked if finish() is called from within the onCreate() method. This might occur, for example, if you detect an error during onCreate() and call finish() as a result. In such a case, though, any cleanup you expected to be done in onPause() and onStop() will not be executed.
Explanation:
Mark as brainliest answer please.
Answered by
2
Answer:
onpause() and onStop() will not be invoked if finish() is called from within the onCreate() method.
Hope it will be helpful :)
Similar questions
Math,
5 months ago
Science,
5 months ago
English,
5 months ago
Social Sciences,
10 months ago
Math,
10 months ago