Android Developer Question: Download Android Developer PDF

Explain me scenario in which only onDestroy is called for an activity without onPause() and onStop()?

Tweet Share WhatsApp

Answer:

If finish() is called in the OnCreate method of an activity, the system will invoke onDestroy() method directly.

Download Android Developer PDF Read All 56 Android Developer Questions
Previous QuestionNext Question
Explain me what is the Android Application Architecture?Explain me how does the activity respond when the user rotates the screen?