Module 3 of 3 in Create a Multiscreen App in Android

Save User State

Share
Save for later

Module outcomes

  • Understand the difference between all the persistence mechanisms on Android
  • Able to determine a persistence mechanism based on a situation
  • Save simple data using DataStore
  • Understand the different types of storage available on Android, explore permissions, and the purpose of scoped storage.
  • Save and read data from Android Files
  • Understand Room Database, its components, and how to create a database and perform CRUD operations on it.

Covered concepts

  • DataStorage
  • Storage permissions
  • Internal and external storage
  • Android Files
  • Room

Module content

1
Save Simple Data Lesson (21 mins)
IntroductionStart
Write Data to DataStore
Read Data from DataStore
Conclusion
2
Understand App Storage Lesson (11 mins)
IntroductionStart
Instruction
Conclusion
3
Read & Write Files Lesson (27 mins)
IntroductionStart
Instruction
Conclusion
4
Define a Room Database Lesson (11 mins)
IntroductionStart
Instruction
Demo
Conclusion
5
Set up a Room Database Lesson (23 mins)
IntroductionStart
Demo: Creating Entities
Demo: Creating DAOs
Conclusion
6
CRUD Operations Lesson (19 mins)
IntroductionStart
Instruction
Conclusion
Quiz: CRUD Operations