The Android architecture components that were announced at the 2017 Google I/O have quickly become an important set of tools for the Android developer community. There are four components designed to work together, but can also be used individually. The Room persistence library is particularly useful on its own. It lets you define an SQLite database and its tables, and then implement all of the required queries to manage the database, with an extraordinarily small amount of code.
- [Instructor] The Android Architecture Components…that were announced at Google I/O in 2017…have quickly become an important set of tools…for the Android developer community.…There are four components,…and they're designed to work together,…but the Room persistence library…is particularly useful on its own.…It lets you define an SQLite database and its tables…and implement all of the required queries…to manage the database with a very small amount of code.…Now, it still takes a certain amount of code…to create a database this way,…so rather than do all the typing here in the video,…I've created an app that already defines the database.…
I'll walk through all that code…and then show you how to use it…in an activity or a fragment.…In this application, under the model package,…there's a class named Note.…Now, for the most part, this is a simple POJO class.…It has a couple of different constructors,…it has setters and getters for its private fields,…and it has a toString method for debugging.…But notice that there are annotations.…
Skill Level Intermediate
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.
Android App Development: Data Persistence Librarieswith Annyce Davis4h 52m Intermediate
Building Android Apps with Cloud Serviceswith Albert Lo2h 37m Intermediate
1. Android Development Tips Weekly
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.