Activity Life Cycle in android - learn what happens to an activity from create to destroy in android
In this video we learn about activity life cycle in android. with help of a picture and information that I push to logcat we learn this important concept. we talk about these:
1. onCreate method in android
2. onStart method in android
3. onResume method in android
4. onPause method in android
5. onStop method in android
6. onRestart method in android
7. onDestroy method in android
and we learn about when these methods run. and when we press home or back button or go to another activity and come back, what will actually happen.
After watching, you learn answer to these questions:
What happen when pressing back button in android app?
What happen when pressing home button in android app?
What happen when closing the app in an android app?
What are different states that an app can have?
activity life cycle in android Video Chapters:
00:00 app preview
00:11 create new project
00:26 change app layout
00:52 override activity methods
01:42 create new activity
02:04 explain activity life cycle in android
🔔 Support me by Subscribing. thanks: / @magiccodes
Hi, welcome to my android learning channel. In this channel I upload videos to help you learn android programming. To create android apps that shown in videos, I used android studio program. My name is Amir and I hope that this android learning channel can help you to learn android and solve your android programming problems.
If you use Magic Codes to learn android programming, you can learn basic, essential and advanced android programming. You learn how to design layouts in android studio; you learn about Java and Kotlin programming; you learn to create android apps: from moment you create a new project in android studio to moment you publish app in google play; you learn about properties of xml layouts; you learn to use outside libraries; you learn to use google maps and google admob in android and a lot more, so subscribe now to help me keep going.
Important Videos and Play Lists:
======================================
💡 - Create Android Applications: • Create Android Apps
📒 - Learn XML Views in Layout: • Learn XML Views in Android
📒 - Work with Database in android: • Work with Database in Android
🌐 - Connect to API in Android: • Connect to API and Send HTTP Requests
📒 - Lists and Recycler Views in Android: • List and Recycler View in Android
🔐 - Error Fixing in android: • Troubleshooting and Error Fixing in Android
⚡ - Android How to Videos: • Android How to Videos
Links and Social Media:
======================================
🔗 - My Apps in Play Store: https://play.google.com/store/apps/de...
📝 - My Website Written in asp.net: http://shahazmoon.ir
#activity #android_activity #activity_life_cycle #android #learn_android #android_programming