This screencast is part of a skill pack called Android Architecture.
While Android SDK provides the APIs for using SQLite databases, they force developers to write a lot of boilerplate code. Room solves this problem by creating the glue code that saves objects to SQLite and reads them into memory. In addition, it performs some compile-time checks to ensure correctness of SQL queries.
In the previous video you learned about Room, the object persistence architecture component but we had to use the AsyncTask to perform database access in a background thread. LiveData makes it easier to perform Room's database queries on Android, since it takes care of the activity lifecycle.
In the third video of this series, we’ll add ViewModel to our application. Instead of calling the repository or other components directly from the Activity or Fragment, we can put some of that code in the ViewModel. As a result, our application will become much cleaner and it will be more testable.
In this screencast, we’ll cover a new background work library introduced at Google I/O 2018 - WorkManager. This release will have a huge impact on most Android apps. Background work has always been painful in Android. There are many different ways to schedule a background work and of course they are different
The Navigation Architecture Component was introduced at Google I/O 2018. This new library aims to simplify navigation from one screen to another. In this screencast, we’ll see how to apply the navigation component to an existing app and review the major pieces and parts.
Explore other screencasts related to this topic.
In this video you will learn about ConstraintLayout. It will cover how to use the graphical editor, how to add constraints to your views and tweak their attributes to position them on screen, and it has an example of converting an existing layout to use ConstraintLayout.
Android Oreo introduces Adaptive Icons which allow device manufacturers to choose the outline, or mask, of all app icons on the device. This guarantees that all app icons will be uniform on each device, whether they be square, rounded, or circular. In this screencast, part 2 of the series, we'll now show you how to generate your icon to take advantage of this new Android O feature.
Firebase Cloud Storage provides an easy way to store files remotely and fetch them when needed. In this video learn the basics of the cloud storage api to upload, download, and delete files.
As of Android P, the FingerprintManager is deprecated in favor of the BiometricPrompt API. In this screencast, we’ll quickly review a previous FingerprintManager implementation and then dive into setting up your application to use BiometricPrompt.
Unit testing your classes helps ensure that they work correctly based on controlled inputs but doing the setup can be painful if you have a lot of dependencies. Learn how to create mock objects using Mockito to simplify your setup and improve the readability of your tests.
App shortcuts give you the ability to provide convenient shortcuts to specific actions in your application. They provide an entry point to different parts of your application. In this video learn how to implement app shortcuts and give your users quick access to the functionality they want.