{"id":15040765,"url":"https://github.com/android/codelab-android-datastore","last_synced_at":"2025-05-16T11:04:50.710Z","repository":{"id":43840599,"uuid":"286412905","full_name":"android/codelab-android-datastore","owner":"android","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-11T22:24:41.000Z","size":204,"stargazers_count":233,"open_issues_count":26,"forks_count":106,"subscribers_count":45,"default_branch":"master","last_synced_at":"2025-04-12T08:16:36.331Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/android.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-10T07:59:02.000Z","updated_at":"2025-03-10T01:13:43.000Z","dependencies_parsed_at":"2024-12-24T14:10:23.162Z","dependency_job_id":"f425ff9e-204c-48ec-9291-947daef5b6fe","html_url":"https://github.com/android/codelab-android-datastore","commit_stats":null,"previous_names":["android/codelab-android-datastore","googlecodelabs/android-datastore"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fcodelab-android-datastore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fcodelab-android-datastore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fcodelab-android-datastore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fcodelab-android-datastore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/android","download_url":"https://codeload.github.com/android/codelab-android-datastore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254518384,"owners_count":22084374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T20:45:02.104Z","updated_at":"2025-05-16T11:04:45.688Z","avatar_url":"https://github.com/android.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DataStore codelab\n\nSupporting code for [Preferences DataStore codelab](https://codelabs.developers.google.com/codelabs/android-preferences-datastore/#0) and [Proto DataStore codelab](https://codelabs.developers.google.com/codelabs/android-proto-datastore/#0).\n\nDataStore is a new and improved data storage solution aimed at replacing SharedPreferences. Built on Kotlin coroutines and Flow, DataStore provides two different implementations: Proto DataStore, that lets you store typed objects (backed by protocol buffers) and Preferences DataStore, that stores key-value pairs. Data is stored asynchronously, consistently, and transactionally, overcoming some of the drawbacks of SharedPreferences.\n\n\nLicense\n--------\n```\nCopyright 2020 The Android Open Source Project\n\nLicensed to the Apache Software Foundation (ASF) under one or more contributor\nlicense agreements. See the NOTICE file distributed with this work for\nadditional information regarding copyright ownership. The ASF licenses this\nfile to you under the Apache License, Version 2.0 (the \"License\"); you may not\nuse this file except in compliance with the License. You may obtain a copy of\nthe License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\nWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\nLicense for the specific language governing permissions and limitations under\nthe License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroid%2Fcodelab-android-datastore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandroid%2Fcodelab-android-datastore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroid%2Fcodelab-android-datastore/lists"}