J

Jatin Pandit • 395 Points
Valuable

Q. What is the lifecycle method where you should release expensive resources?

  • (A) onStart()
  • (B) onPause()
  • (C) onDestroy()
  • (D) onCreate()

Explanation by: Jatin Pandit
onDestroy() is the best place to release heavy or memory-expensive resources.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.