Oreilly - Modernizing Your Android Applications
by Yusuf Saber | Released December 2018 | ISBN: 9781789950502
Port your codebase from Java to Kotlin and enhance the UI of your app using advanced Android Architecture ComponentsAbout This VideoModernize your Android application with Kotlin using solid principles and common architecture patterns.Get equipped with the new Jetpack group of libraries including WorkManager, LiveData, ViewModel, and more.Reduce the lines of code and efficiently write your Android application in a modern way.In DetailProgramming Android apps can be a complex process and lack of knowledge in architecting your app can result in spaghetti code and dead ends. In order to deliver an extendable, maintainable, and testable code base, you have to think about the architecture of your application from the very first stage of your development.In this course, you'll take an existing Android application build in Java and modernize it using the Kotlin language, seeing the importance of planning the architecture using SOLID principles and common Android Architecture using the MVP, MVC, and MVVM patterns.Moving on, you'll implement Life Cycle Aware Components, use the viewmodel LiveData framework, and perform data management and persistence with the Room persistence solution. You'll see how Kotlin efficiently accelerates the development by improving the code base. With the advanced Architectural Components, you'll not only be able to improve the performance but also enhance the UI of your application to a whole new level.By the end of this course, you'll have modernized your Android app using all the new features from coding it in Kotlin to implementing Architecture Components to enhancing the UI of your app, which gives you more control on your app and makes it easy to maintain.All the code and supporting files for this course are available on Github at https://github.com/PacktPublishing/Modernizing-your-Android-Applications Show and hide more
- Chapter 1 : Welcome to the Cool New Android
- The Course Overview 00:06:34
- Layout Design and Management 00:09:56
- Rotations and Recreations 00:13:13
- New Layouts 00:20:53
- New Lists 00:14:59
- Chapter 2 : Measure Performance with Code Profiling
- Old Code Profiling 00:06:51
- New Code Profiling 00:09:18
- Memory Leaks 00:06:03
- Chapter 3 : Coddling Kotlin
- Converting Java to Kotlin 00:16:51
- Extension Functions 00:08:19
- Operator Overload 00:06:15
- Kotlin Android Extensions 00:06:22
- KTX 00:13:04
- Chapter 4 : Data Storage and Management with Room DB
- Data Persistence the Old Way 00:11:21
- Data Persistence the New Way 00:11:09
- Inserting Data and Writing Queries 00:04:18
- Updating and Deleting Data 00:04:38
- Chapter 5 : LifeCycle, ViewModel, and LiveData
- Dynamic Data Loading 00:03:42
- Handling Lifecycles Callbacks 00:06:51
- Responding to State Changes 00:05:33
- New Way to Respond to State Changes 00:09:58
- Using ViewModel to Restore and Manage Data 00:06:10
- Implementing LiveData 00:08:59
- Chapter 6 : Implementing Data Binding and Paging Libraries
- Exploring Data Binding 00:03:39
- Adding Layouts and Binding Expressions 00:07:44
- Bind Layout Views to Architecture Components 00:06:18
- Implementing Paging Library 00:04:32
- UI Components and Considerations 00:05:50
- Data Components and Considerations 00:06:37
- Chapter 7 : Scheduling Tasks Using WorkManager API
- Implementing WorkManager to Schedule Tasks 00:10:04
- Running Tasks Under Specific Conditions 00:07:18
- Setting Up Unique and Named Work Sequences 00:06:20
Show and hide more