Skip to content

Instantly share code, notes, and snippets.

Last active Mar 22, 2021
What would you like to do?
/* Copyright 2021 Google LLC.
SPDX-License-Identifier: Apache-2.0 */
val Context.dataStore by dataStore("my_file.json", serializer = UserPreferencesSerializer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment