Android DataStore with Jetpack Compose

Learn to use DataStore by building an MVVM app with Jetpack Compose that displays a list of comics and persists filters and sort order of the comics. DataStore is a safe and durable way to store small amounts of data, such as key-value pairs, preferences and application states. 


Course Objectives

In this master codelab, you’ll explore:

  • Tabulate the differences between SharedPreferences, Preference DataStore and Proto DataStore 
  • Understanding Preference Data Store and Proto DataStore 
  • Reading and Writing From Preference Data Store 
  • Writing and Reading From Proto Data Store 
  • Testing Preference Data Store and Proto DataStore 
  • Integrating both Preference and Proto DataStore in MVVM Architecture with Jetpack Compose 
  • Exploring the pros and cons of Proto DataStore and Preference DataStore

Meet the instructors

Gibson Ruitiari

Content Author

Mehdi Haghgoo

Course Instructor

More courses by Gibson Ruitiari

More courses by Mehdi Haghgoo