top of page
Search

Learning Android Life Cycle

  • Writer: shusrushabezugam
    shusrushabezugam
  • Nov 15, 2018
  • 1 min read

This learning gave me insight of how an android app works along with the methods :

onCreate():To start an android application,we should set the UI.Learned OnCreate() method is main thread of the application.

onStart():It is called after the onCreate() method.

onResume():It is called to resume the app from the recent end point.

onPause():It is opposite to onResume() method. It is useful while stopping the animation.Restrictions to resources. It is always important to save the instances.

onStop():Called either before restarting the app or before calling onDestroy() method.Sometimes regardless of onRestart() and onDestroy().

Finally, I started learning key concepts of android development i.e., application life cycle from initializing application to destroying application.I have spent 3-4 four hours in understanding the hierarchy of life cycle.I will focus on practical implementation nearly.




References:

https://blog.mindorks.com/how-to-learn-android-development-f33dd6dba40d

https://developer.android.com/reference/android/app/Activity#onCreate(android.os.Bundle)

https://developer.android.com/reference/android/app/Activity.html#onStart()

https://developer.android.com/reference/android/app/Activity.html#onResume()

https://developer.android.com/reference/android/app/Activity.html#onPause()

https://developer.android.com/reference/android/app/Activity.html#onStop()


 
 
 

Recent Posts

See All
Learnings from Building Project

In this project, I have tried to integrate concepts from all courses taken by me in my Master's. I learned and implemented Java as well...

 
 
 

Comments


©shusrushabezugam

bottom of page