YoVDO

Building an Android App with Architecture Components

Offered By: LinkedIn Learning

Tags

Kotlin Courses Android Development Courses SQLite Courses Unit Testing Courses User Interface Design Courses Data Persistence Courses RecyclerView Courses ViewModel Courses LiveData Courses

Course Description

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

Related Courses

Ruby on Rails: An Introduction
Johns Hopkins University via Coursera
Internet of Things Capstone: Build a Mobile Surveillance System
University of California, San Diego via Coursera
Engineering Maintainable Android Apps
Vanderbilt University via Coursera
Orientação a Objetos com Java
Instituto Tecnológico de Aeronáutica via Coursera
TDD – Desenvolvimento de Software Guiado por Testes
Instituto Tecnológico de Aeronáutica via Coursera