# cundong/HeaderAndFooterRecyclerView

A RecyclerView solution, support addHeaderView、addFooterView

Repository: https://github.com/cundong/HeaderAndFooterRecyclerView
Canonical: https://ross.abutalabs.com/products/headerandfooterrecyclerview
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2017-12-27T06:07:36+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3960, "days_push": 3171, "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 1392, forks 321 (observed 2026-08-28T04:04:35.987592+00:00)

## What it is
An Android library that wraps RecyclerView to support adding header and footer views via a custom adapter and utility methods. It also provides endless/paging scroll handling with footer states like loading, error, and end-of-list.

## Use cases
- add a header or footer view to a RecyclerView
- implement pull-to-load-more pagination in a RecyclerView
- show loading, error, and end states in a list footer
- use headers with linear, grid, or staggered grid layouts
- fix adapter position offsets when headers are added

## When to choose
- you maintain a legacy Java Android app on older support/early AndroidX libraries and need header/footer RecyclerView support
- you want a lightweight wrapper for endless-scroll pagination with footer state management

## When to avoid
- you are starting a new Android project with modern AndroidX APIs like ListAdapter, ConcatAdapter, or Paging 3
- you need Kotlin-first or actively maintained solutions
- you need Jetpack Compose lists

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, state-management
- domain: mobile-development, android-tools, frontend
- platform: jvm
- tags: recyclerview, android, header-footer, pagination, java, infinite-scroll

## Member repositories
- cundong/HeaderAndFooterRecyclerView (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:35.987592+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:39:32.082672+00:00, confidence not recorded.
  - readme: https://github.com/cundong/HeaderAndFooterRecyclerView (fetched 2026-08-28T04:04:35.987592+00:00, sha 0c8a255e47bc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
