Android Activity Life-Cycle ||Activity life-cycle explained||Easy Explanation With Practical-#4

Share this post with friends!

Android Activity Life-Cycle ||Activity life-cycle explained||Easy Explanation With Practical-#4

video, delen, cameratelefoon, videotelefoon, vrij, uploaden

Android Activity having his own life-cycle like a human being.It cross through various stages like
1.onCreate()
2.onStart()
3.onResume()
4.onPause()
5.onStop()
6.onRestart() &
7.onDestroy()
I explained each life-cycle state with practically using real device.
For an Android Developer it is very essential to understand all these callback or methods to develop Advance Android Application.
onCreate() is the only method executed only for once in life-cycle
before calling onDestroy() is the best stage to save all the instances and process of application.

********My Instagram handle below************
https://instagram.com/codes_king?igshid=12uoxnmyj0d5a

You can follow and leave your queries.

source

0 thoughts