A

Admin • 833.24K Points
Coach

Q. Which lifecycle method is guaranteed to be called before an Activity is destroyed?

  • (A) onPause()
  • (B) onStop()
  • (C) onDestroy()
  • (D) onResume()

Explanation by: Admin

onDestroy() is called before the activity is completely removed from memory.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.