# frankiesardo/icepick

Android Instance State made easy

Repository: https://github.com/frankiesardo/icepick
Canonical: https://ross.abutalabs.com/products/icepick
Language: Clojure
License: EPL-1.0
License Family: copyleft
Last push: 2021-05-26T07:01:41+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4799, "days_push": 1925, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3720, forks 204 (observed 2026-08-28T04:08:15.465235+00:00)

## What it is
Icepick is an Android library that eliminates boilerplate for saving and restoring instance state using annotation processing. Fields annotated with @State are automatically serialized to and restored from Bundles in Activities, Fragments, and custom Views.

## Use cases
- save and restore Android activity state without boilerplate
- automatically persist fragment fields across configuration changes
- generate instance state code for custom views
- serialize custom types into Android bundles
- reduce onSaveInstanceState boilerplate in Android apps

## When to choose
- you maintain a legacy Android Java project that still relies on Bundle-based instance state
- you want annotation-processed state persistence for Activities, Fragments, or custom Views
- you need custom serialization hooks via the Bundler interface

## When to avoid
- you are starting a new Android project - use ViewModel with SavedStateHandle instead
- your project uses Kotlin - @Parcelize or SavedStateHandle are better supported
- you need actively maintained dependencies - the library has not been updated since 2021

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization, plugin-system
- domain: mobile-development, android-tools, developer-tools
- platform: jvm
- tags: android, instance-state, annotation-processing, bundle, state-management, boilerplate-elimination, mobile

## Member repositories
- frankiesardo/icepick (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:15.465235+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-29T18:29:20.249648+00:00, confidence not recorded.
  - readme: https://github.com/frankiesardo/icepick (fetched 2026-08-28T04:08:15.465235+00:00, sha 7154c5ed3c18)
- Data as of 2026-08-30T08:39:29.467469+00:00.
