datastore-preferences

Community

Streamlined Android DataStore for app settings.

AuthordimitriRemoiville
Version1.0.0
Installs0

System Documentation

What problem does it solve?

DataStore patterns provide a unified approach to managing app settings and persistent state on Android, eliminating scattered preferences logic and reducing boilerplate.

Core Features & Use Cases

  • Supports Preferences DataStore for free-form, typed keys and Proto DataStore for structured state.
  • Demonstrates single top-level instance initialization, binding to the repository, and migration from SharedPreferences.
  • Covers multi-process considerations and recommended testing patterns for reliability.

Quick Start

Initialize a DataStore instance (Preferences for simple keys or Proto for structured state) and wrap it with a repository to access typed settings throughout your app.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: datastore-preferences
Download link: https://github.com/dimitriRemoiville/cc-mobile/archive/main.zip#datastore-preferences

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.