Giter VIP home page Giter VIP logo

testing-android-datastore's Introduction

As part of their commitment to Kotlin and providing a first-class developer experience using the Jetpack series of libraries, Google announced DataStore at Google I/O this year. The DataStore library allows us to store either key-value pairs, or strongly typed objects, and is the recommended replacement for the legacy SharedPreferences Android API. According to Google,

DataStore uses Kotlin coroutines and Flow to store data asynchronously, consistently, and transactionally.

This repo is the companion to a WWT Platform article that focuses specifically on how to use and test the Preferences DataStore to store simple key-value pairs. If you need to store strongly typed, complex objects, consider using the protocol buffers-based Proto DataStore instead.

Additional resources

testing-android-datastore's People

Contributors

hawkep avatar psh avatar

Stargazers

Furkan Kaymaz avatar William Amaral avatar Riezki Maisyar avatar Dawid Hyży avatar  avatar Rafif Rabbani avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.