sockeqwe/fragmentargs
Annotation Processor for setting arguments in android fragments observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 4400
- days_rel: n/a
- days_push: 990
- n_releases_24m: 0
Adoption not part of the score
1063 stars · 85 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Java annotation processor for Android that generates Builder classes and argument injection code for Fragments at compile time, avoiding reflection. It eliminates boilerplate and crash-prone manual argument handling in Fragment-based Android apps.
Use cases
- pass arguments to android fragments safely
- avoid NullPointerException on fragment arguments after rotation
- generate fragment builders instead of writing newInstance boilerplate
- inject fragment arguments without reflection
- reduce boilerplate in android fragment code
When to choose
- you maintain a legacy Android app using Fragments and want type-safe argument handling
- you want compile-time generated builders with no reflection overhead
- you frequently hit crashes from unset fragment arguments across configuration changes
When to avoid
- you build new apps with Jetpack Compose or Navigation Component's Safe Args
- your project uses Kotlin with modern fragment argument solutions
- you need actively maintained tooling - the project sees only sporadic releases
Facets
library · maturity maintenance
developer-tools boilerplate mobile-development android-tools developer-tools jvm annotation-processor fragments android compile-time-codegen no-reflection code-generation
3 sources
- readme: https://github.com/sockeqwe/fragmentargs · fetched 2026-08-28 · cebe81e89e96
- homepage: http://hannesdorfmann.com/android/fragmentargs · fetched 2026-08-29 · 176816d5a0c1
- site_page: https://hannesdorfmann.com/about · fetched 2026-08-29 · 65f7fda601b9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sockeqwe/fragmentargs | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="sockeqwe/fragmentargs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem