Activity Lifecycle of Android II Android Studio Tutorial - #14
In this video, we will learn about the Activity Lifecycle of Android with a live example. So stay tuned and watch the video till the end. Also please like share, comment and subscribe to my YouTube channel. An Activity is a key component of any android app that provides a screen where users can interact to do something. Here we will learn how to activity start & shutdown by using 7 methods. So this entire process is called Activity Lifecycle. Activity Lifecycle 7 methods are: • onCreate() - Call when activity is first created. • onStart()- Call when activity is becoming visible to the user. • onResume()- Call when activity will start interacting with the user. • onPause()- Call when activity is not visible to the user. • onStop()- Call when activity is no longer visible to the user. • onRestart()- Call after your activity is stopped, prior to start. • onDestroy()- Call before the activity is destroyed. --------------------------------------------------- Android Studio Tutorials: https://www.youtube.com/playlist?list=PLMzawdFfb5GbCLA_WyJdcC5DIJayFBrvA --------------------------------------------------- Follow me on: Instagram: https://www.instagram.com/codingknowledge4u/ ------------------------------------------------------------------------ For query mail at [email protected] ----------------------------------------------------- MY MIC - https://www.amazon.in/gp/product/B08S5J36Z3/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 -------------------------------------------------------
Download
0 formatsNo download links available.