Activity Result & Activity Contracts Beginner's Guide to Android App Development
Автор: AstrosCoding
Загружено: 2023-03-09
Просмотров: 1250
In this YouTube tutorial, we will be focusing on the latest approach to handling activity results in Android app development. We will start by discussing the old method of using startActivityForResult() and onActivityResult(). Then, we will introduce the improved approach of using activity contracts and explain their benefits, such as making the code more maintainable and testable. Throughout the tutorial, we will cover the onBackPressed callback and provide a simple example app that takes a picture with the camera and displays it in the app. By following along with us in this tutorial, you will gain the skills needed to enhance your Android app development.
Timestamps:
0:00 Intro
1:31 startActivityForResult() & OnActivityResult
8:29 OnBackPressed
9:47 Activity Contracts
13:26 Getting an image from the camera
Activity Contracts: https://developer.android.com/trainin...
🔥 Ready to level up your Android skills? 🚀 Unlock the secrets with private tutoring sessions! DM me on Instagram to get started now. 📱💡
Regular coding shorts on TikTok
/ astroscoding
Regular coding posts on Instagram
/ astroscoding
Regular coding tips on Twitter
/ astroscoding
If you'd like to support me buy me a coffee at
https://www.buymeacoffee.com/astrosco...
Explore the world of #AndroidDev with my tutorial series! 🚀 Learn the essentials of #MobileAppDevelopment, including #AndroidDevelopment, #ProgrammingTips, and #TechEducation. Dive into hands-on coding with #LearnProgramming and discover the intricacies of #AppDevelopment using #AndroidStudio and #KotlinProgramming. Navigate through seamless app experiences with insights on #AndroidNavigation, #ViewModel, #LiveData, and #Flow. Master the art of #AndroidFragments and leverage the power of #NavigationComponent for efficient development. Uncover the magic of #ViewModelArchitecture and understand the dynamics of #LiveData and #Flow in the world of #SoftwareDevelopment. #ProgrammingHelp #DeveloperCommunity #AndroidMastery #privatetutoring Join me on this educational journey and become a proficient developer! 💻📱
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: