# xxv/android-lifecycle

A diagram of the Android Activity / Fragment lifecycle

Repository: https://github.com/xxv/android-lifecycle
Canonical: https://ross.abutalabs.com/products/android-lifecycle
Language: Java
License Family: other
Last push: 2021-08-19T00:44:07+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": 4520, "days_push": 1841, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5248, forks 659 (observed 2026-08-28T04:09:13.662370+00:00)

## What it is
A reference diagram charting the complete Android Activity and Fragment lifecycles, organized vertically by time to show how fragment callbacks interleave with activity callbacks. It is available as PNG, SVG, and PDF renders, with the source in Dia format, licensed under CC-BY-SA 4.0.

## Use cases
- understand the android activity lifecycle order
- see how fragment lifecycle callbacks interleave with activity callbacks
- printable android lifecycle reference chart
- learn when oncreate onstart onresume are called in fragments vs activities
- reference diagram for android fragmentmanager lifecycle integration

## When to choose
- you need a clear visual reference for Android activity/fragment lifecycle ordering
- you are teaching or learning Android development and want a printable lifecycle chart
- you want to understand FragmentManager integration with the activity lifecycle

## When to avoid
- you need a lifecycle-aware library or code, not a diagram
- you need documentation covering user-triggered callbacks like onOptionsItemSelected
- you need an actively updated resource covering newer Android lifecycle APIs like Jetpack Lifecycle

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: documentation, developer-tools
- domain: mobile-development, android-tools, tutorials, documentation
- platform: cross-platform
- tags: android-lifecycle, diagram, activity-lifecycle, fragment-lifecycle, reference-chart, java, android

## Member repositories
- xxv/android-lifecycle (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:13.662370+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-29T17:59:34.603843+00:00, confidence not recorded.
  - readme: https://github.com/xxv/android-lifecycle (fetched 2026-08-28T04:09:13.662370+00:00, sha 3624d3848b07)
- Data as of 2026-08-30T08:39:29.467469+00:00.
