# oubowu/PinnedSectionItemDecoration

A powerful ItemDecoration for Recyclerview, supports the common layoutmanager.

Repository: https://github.com/oubowu/PinnedSectionItemDecoration
Canonical: https://ross.abutalabs.com/products/pinnedsectionitemdecoration
Language: Java
License: Apache-2.0
License Family: permissive
Topics: recyclerview, stickyheader
Last push: 2019-03-18T01:33:49+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": 3694, "days_push": 2726, "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 2080, forks 216 (observed 2026-08-28T04:06:11.567330+00:00)

## What it is
An Android library providing a RecyclerView ItemDecoration that renders pinned (sticky) section headers across LinearLayoutManager, GridLayoutManager, and StaggeredGridLayoutManager. It supports large and small headers, click/double-click/long-press events on headers and children, and customizable separator lines.

## Use cases
- add sticky section headers to a RecyclerView list
- pin group headers while scrolling a grid layout
- show pinned headers in a staggered grid waterfall layout
- handle clicks and long presses on sticky headers
- build a stock market list with pinned category headers
- draw custom separator lines between list sections

## When to choose
- you need sticky section headers on Android RecyclerViews with linear, grid, or staggered grid layout managers
- you want header and child click handling built into the decoration
- you need a mature Java-based Android UI library with an Apache-2.0 license

## When to avoid
- you are not developing for Android or not using RecyclerView
- you need horizontal orientation support, which is not provided
- you want an actively maintained project - the latest release dates to 2019 and the author recommends a newer StickyItemDecoration library

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: mobile-development, android-tools, frontend
- platform: jvm
- tags: recyclerview, sticky-header, itemdecoration, android-ui, java, android

## Member repositories
- oubowu/PinnedSectionItemDecoration (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:11.567330+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-30T02:56:02.680480+00:00, confidence not recorded.
  - readme: https://github.com/oubowu/PinnedSectionItemDecoration (fetched 2026-08-28T04:06:11.567330+00:00, sha 4b43e6dc6dbe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
