The Activity Lifecycle in Android - How it works and which callback functions it has
In this video, you will learn about the Activity Lifecycle in Android. This video is part of the Jetpack course that I'm working on. If you want to get started with android now, then check this Masterclass out: https://bit.ly/2KhMitI
The Activity Lifecycle is basically a bunch of callback functions that are called during the lifecycle of your activity or app. So when the app starts and the activity comes into play, then onCreate is called.
Then onStart and then onResume. At this point your activity is visible and the user can interact with it.
Now let's say the user gets a call, then the Activity gets pushed into the background, at this point onPause() and onStop will be called.
If the user doesn't come back to the application, then onDestroy will be called. That's the ideal moment to make sure, that your app's data is stored for example.
tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
Stay tuned and subscribe to tutorialsEU: https://goo.gl/rBFh3x
Facebook: https://www.facebook.com/TutorialsEU-109380204093233
Discord: https://discord.gg/cK5KzZtME8
LinkedIn: https://www.linkedin.com/company/tutorialseu
Видео The Activity Lifecycle in Android - How it works and which callback functions it has канала tutorialsEU
The Activity Lifecycle is basically a bunch of callback functions that are called during the lifecycle of your activity or app. So when the app starts and the activity comes into play, then onCreate is called.
Then onStart and then onResume. At this point your activity is visible and the user can interact with it.
Now let's say the user gets a call, then the Activity gets pushed into the background, at this point onPause() and onStop will be called.
If the user doesn't come back to the application, then onDestroy will be called. That's the ideal moment to make sure, that your app's data is stored for example.
tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
Stay tuned and subscribe to tutorialsEU: https://goo.gl/rBFh3x
Facebook: https://www.facebook.com/TutorialsEU-109380204093233
Discord: https://discord.gg/cK5KzZtME8
LinkedIn: https://www.linkedin.com/company/tutorialseu
Видео The Activity Lifecycle in Android - How it works and which callback functions it has канала tutorialsEU
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Build a Currency Converter using C# & SQL Server | UI Design Tutorial (UI Design) 🔥 [Part 2]](https://i.ytimg.com/vi/daxJbbmf5uc/default.jpg)
![Single activity: Why, when, and how (Android Dev Summit '18)](https://i.ytimg.com/vi/2k8x8V77CrU/default.jpg)
![Callback and arrow function introduction in array](https://i.ytimg.com/vi/Tny4_-QjNHg/default.jpg)
![FindViewByID - KotlinX Extensions or ViewBinding - ways to access your UI elements](https://i.ytimg.com/vi/4GXflIdrlus/default.jpg)
![Android Jetpack Navigation Component In-Depth Guide 👊👊](https://i.ytimg.com/vi/3xb4t51sJZ0/default.jpg)
![Understanding Activity Lifecycle with Example Use Cases | Android Development For Beginners](https://i.ytimg.com/vi/RiFui-i-s-o/default.jpg)
![Understanding JavaScript Callbacks](https://i.ytimg.com/vi/Nau-iEEgEoM/default.jpg)
![How THIS wallpaper kills your phone.](https://i.ytimg.com/vi/iXKvwPjCGnY/default.jpg)
![Free Android Jetpack Course - 7+ hours Tutorial](https://i.ytimg.com/vi/-TWz30owX_I/default.jpg)
![What is GitHub?](https://i.ytimg.com/vi/w3jLJU7DT5E/default.jpg)
![Activity Lifecycle in Android [Kotlin 2020]](https://i.ytimg.com/vi/4F_Cv3OdL58/default.jpg)
![Build a Currency Converter using C# & WPF | User Interface Design Tutorial (UI Design) 🔥 [Part 1]](https://i.ytimg.com/vi/shx4C49T5ig/default.jpg)
![What is a callback?](https://i.ytimg.com/vi/xHneyv38Jro/default.jpg)
![The Secret Knowledge Of Believing](https://i.ytimg.com/vi/1DYmgoij4FQ/default.jpg)
![ACTIVITIES AND LIFECYCLE - Android Fundamentals](https://i.ytimg.com/vi/GxET0CYy1eg/default.jpg)
![How I Learned to Code - and Got a Job at Google!](https://i.ytimg.com/vi/mElVGah7Epg/default.jpg)
![Sensor Fusion on Android Devices: A Revolution in Motion Processing](https://i.ytimg.com/vi/C7JQ7Rpwn2k/default.jpg)
![Channel Update - Upcoming Videos and Courses](https://i.ytimg.com/vi/KD1GnncXaMI/default.jpg)
![How to Understand Callbacks & Higher Order Functions (FULL VIDEO Parts 1-4)](https://i.ytimg.com/vi/viQz4nUUnpw/default.jpg)
![Fragments - Part 5, Story of back stack](https://i.ytimg.com/vi/EzUl88tzxH0/default.jpg)