# f2prateek/rx-preferences

Reactive SharedPreferences for Android

Repository: https://github.com/f2prateek/rx-preferences
Canonical: https://ross.abutalabs.com/products/rx-preferences
Homepage: http://f2prateek.com/2015/10/05/rx-preferences/
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2023-05-24T00:46:03+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4278, "days_push": 1198, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1519, forks 129 (observed 2026-08-28T04:04:57.607094+00:00)

## What it is
A Java library that wraps Android's SharedPreferences in RxJava observables, allowing reactive observation of preference changes and subscription-based writes. It is now deprecated in favor of a community-maintained fork.

## Use cases
- observe Android SharedPreferences changes reactively
- bind UI widgets to preference values with RxJava
- store and stream preference values as observables
- replace boilerplate SharedPreferences listener code
- react to user settings changes in an Android app

## When to choose
- maintaining a legacy Android app already using RxJava 2 and this library
- you want reactive access to SharedPreferences in an older codebase

## When to avoid
- starting a new Android project - the library is deprecated
- using Kotlin coroutines or Flow instead of RxJava
- you need ongoing maintenance or support

## Facets
- artifact type: library
- maturity: abandoned
- function: state-management, developer-tools
- domain: mobile-development, android-tools, developer-tools
- platform: jvm
- tags: rxjava, sharedpreferences, reactive, deprecated, android

## Member repositories
- f2prateek/rx-preferences (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:57.607094+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:57.333792+00:00, confidence not recorded.
  - readme: https://github.com/f2prateek/rx-preferences (fetched 2026-08-28T04:04:57.607094+00:00, sha 556cc7215536)
- Data as of 2026-08-30T08:39:29.467469+00:00.
