Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Building an Android App with Architecture Components

via LinkedIn Learning

Overview

Learn best practices and architecture recommendations for building high-quality Android apps using the Android Architecture Components for data persistence and display.

Syllabus

Introduction
  • Welcome
  • What you should know
1. Get Started
  • The history and evolution of this app
  • Explore the Architecture Components
  • Create the starting project
  • Import the project from GitHub
  • Create a launcher icon
  • Create other required graphics
  • Add architecture component dependencies
2. Create the User Interface
  • Add a RecyclerView to the main activity
  • Create a custom layout for list rows
  • Create a data entity class
  • Create sample data for testing
  • Display data with a RecyclerView adapter
  • Create the note editor activity
3. Manage Data Persistence with Room
  • Define a Room entity class
  • Implement database operations in a DAO
  • Define an SQLite database with Room
  • Create a custom type converter
  • Create a unit test for database logic
4. Manage Data and Business Logic
  • Create a ViewModel for the list activity
  • Create a repository class
  • Add a feature to insert sample notes
  • Subscribe to LiveData updates
  • Add a feature to delete all notes
5. Edit and Delete Notes
  • Add a ViewModel for the editor activity
  • View an existing note in the editor
  • Edit an existing note
  • Create a new note
  • Delete a note
6. Final Touches
  • Handle device orientation changes
  • Add divider lines to the RecyclerView
Conclusion
  • Next steps

Taught by

David Gassner

Reviews

Start your review of Building an Android App with Architecture Components

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.