spot_img

Android Builders Weblog: Jetpack DataStore


Posted by Simona Stojanovic, Android Developer Relations Engineer

, Reloadman Blog 

Now that our MAD Abilities sequence on Jetpack DataStore is full, let’s do a fast wrap up of all of the issues we’ve lined in every episode:

Episode 1 — Introduction to Jetpack DataStore

We began with the fundamentals of Jetpack DataStore — the way it works and the adjustments and enhancements it brings in comparison with SharedPreferences. We additionally mentioned the right way to determine between its two implementations, Preferences and Proto DataStore, in addition to how to decide on between DataStore and Room.

Take a look at the weblog put up and the video:


Episode 2 — All about Preferences DataStore

Go deeper into Preferences DataStore: the right way to create it, learn, and write knowledge and the right way to deal with exceptions, all of which ought to, hopefully, offer you sufficient info to determine if it’s the proper selection on your app.

Right here’s the weblog put up and the video:

Episode 3 — All about Proto DataStore

Study Proto DataStore: the right way to create it, learn, and write knowledge and the right way to deal with exceptions, to higher perceive the situations that make Proto an awesome selection.

When you desire studying, right here’s the weblog put up, in any other case, right here’s the video:

Episode 4 — DataStore-serialization, sync work, and dependency injection

Episode 4 introduces a number of completely different ideas associated to DataStore to know the way it works below the hood, so that you’ve every part at your disposal to make use of it in a manufacturing atmosphere. We give attention to: Kotlin Information class serialization, synchronous work, and dependency injection with Hilt.

Check out our blogs and video:

DataStore and dependency injection

DataStore and Kotlin serialization

DataStore and synchronous work

Episode 5 — DataStore-handling knowledge migration and testing

Lastly, within the fifth episode of our Jetpack DataStore sequence, we cowl two extra ideas round DataStore: DataStore-to-DataStore migrations and testing. Hopefully, this may present you all the data you must add DataStore to your app efficiently.

Take a look at the blogs and the video:

DataStore and knowledge migration

DataStore and testing



Supply hyperlink

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

0FansLike
3,698FollowersFollow
0SubscribersSubscribe
spot_img

Latest Articles