Basic Uses of DataStore

In the first tutorial, we introduced Google’s Jetpack Datastore, its types and also learnt about storing and accessing key-value pairs using Preference Datastore. In this course we will walk the mainly used approaches for data persistence and also the differences between them and DataStore.  
  • Author: Hitesh Das
  • Level: Beginner
  • Video time: 60 minutes
  • Study time: 2 hours
  • Sample Project Included: Yes
  • Learning Path: Junior Developer

A few more words about this course

This course covers the basic advantage of using Preferences DataStore over the SharedPreference API. It also covers how we can easily migrate from Sharedpreferences if your project is already using Sharedpreferences. At the end of this course, you will be able to choose between Datastore or different other storage solutions available that suit your application use case.
Drag to resize
By the end of the course you will have mastered:

  • Disadvantages of using Sharedpreferences with use cases.
  • How datastore overcomes the shortcomings of Sharedpreferences.
  • Example walkthrough with various storage solutions including Datastore.
  • Migration from Sharedpreferences to Preference Datastore.

Meet the instructor

Drag to resize

Hitesh Das

Android Enthusiast, Principal Technical Architect, OLXGROUP
OLXGROUP
About
I am an Android enthusiast with a Computer Science and Engineering degree, I have more than to 11 years of work experience in Android app development. Currently leading the mobile android team at OLX Autos; Mentoring and managing to work together to create an environment of curiosity, encouragement, and technical growth. Work with the Product and Design teams to establish, architect and deliver solutions and making customers happy with technology. An active member of GDG, New Delhi and Android Developers Group, New Delhi, India. I love to cook, write blogs, sing, listen to music and meet new people and I strongly believe the maxim "When we share, we open doors to a new beginning".