PrototypeZ/SaveState
:icecream: Generate 'onSaveInstanceState' and 'onRestoreInstanceState' methods for your application automatically observed · 2026-09-03
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3014
- days_rel: n/a
- days_push: 2848
- n_releases_24m: 0
Adoption not part of the score
1004 stars · 79 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An Android library that automatically generates onSaveInstanceState and onRestoreInstanceState implementations via the @AutoRestore annotation. It works with Activities, Fragments, and Views through a Gradle plugin and annotation processing.
Use cases
- eliminate boilerplate onSaveInstanceState code in Android apps
- automatically restore activity state after process death
- save and restore fragment fields with annotations
- persist view state across configuration changes
- generate instance state handling for Kotlin Android projects
When to choose
- you maintain an Android app with lots of manual instance state saving code
- you want annotation-based automatic state persistence in Activities, Fragments, or Views
- you use Kotlin or Java with kapt and want code generation
When to avoid
- you use Jetpack Compose or ViewModel/SavedStateHandle instead of classic instance state
- you need an actively maintained library - the project has had no releases since 2018
- your project does not use Android Gradle plugin integration
Facets
library · maturity maintenance
serialization developer-tools mobile-development android-tools developer-tools jvm android annotation-processing state-restoration kotlin gradle-plugin boilerplate-elimination
1 source
- readme: https://github.com/PrototypeZ/SaveState · fetched 2026-09-03 · 6ac3174951a3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PrototypeZ/SaveState | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="PrototypeZ/SaveState")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem