Episode 161: DataStories

Android Developers Backstage

Episode | Podcast

Date: Wed, 21 Apr 2021 16:21:05 +0000

<p><span> This time, Tor, Chet, and Romain talked with Rohit Sathyanarayana and Florina Muntenescu about the DataStore library. DataStore is the replacement for SharedPreferences, being better for many reasons (it's asynchronous and avoids blocking the UI thread, it is type-safe). It not only has a similar/simple key-value pair API like SharedPreferences, but also has more powerful API as well. It's currently in alpha, but look for it to be the recommended approach soon as it approaches stable.</span></p> <p><span> <img alt="" height="155" src="https://assets.libsyn.com/secure/show/332855/Screenshot_DataStore.png" width="320" /></span></p> <p><span> Florina, Romain, Chet,</span> <span> Daniel (ADB<br /> audio producer, in person!), Tor, and Rohi<br /> <a class="in-cell-link" href="https://medium.com/androiddevelopers/using-datastore-with-kotlin-serialization-6552502c5345" rel="noopener" target="_blank"><br /></a><a class="in-cell-link" href="https://medium.com/androiddevelopers/using-datastore-with-kotlin-serialization-6552502c5345" rel="noopener" target="_blank">Article:</a> <a class="in-cell-link" href="https://medium.com/androiddevelopers/using-datastore-with-kotlin-serialization-6552502c5345" rel="noopener" target="_blank">Using DataStore in Kotlin Serialization</a><br /> Docs: <a class="in-cell-link" href="http://goo.gle/datastore-docs" rel="noopener" target="_blank">Docs</a><br /> Codelab: <a class="in-cell-link" href="http://goo.gle/datastore-preferences-codelab" rel="noopener" target="_blank">Preferences Datastore codelab</a><br /> Codelab: <a class="in-cell-link" href="http://goo.gle/datastore-proto-codelab" rel="noopener" target="_blank">Proto Datastore codelab</a><br /> <br /> Florina: <a class="in-cell-link" href="https://twitter.com/FMuntenescu" rel="noopener" target="_blank">@FMuntenescu</a><br /> Rohit: <a class="in-cell-link" href="https://twitter.com/rohitsat123" rel="noopener" target="_blank">@rohitsat123</a><br /> Chet: <a class="in-cell-link" href="https://twitter.com/chethaase" rel="noopener" target="_blank">@chethaase</a><br /> Romain: <a class="in-cell-link" href="https://twitter.com/romainguy" rel="noopener" target="_blank">@romainguy</a><br /> Tor: <a class="in-cell-link" href="https://twitter.com/tornorbye" rel="noopener" target="_blank">@tornorbye</a></span></p>