Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
14 января 2021 г. 16:00:19
00:15:37
Яндекс.Метрика