# hongyangAndroid/baseAdapter

Android 万能的Adapter for ListView,RecyclerView,GridView等，支持多种Item类型的情况。

Repository: https://github.com/hongyangAndroid/baseAdapter
Canonical: https://ross.abutalabs.com/products/baseadapter
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2021-10-13T10:21:40+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": 4048, "days_push": 1785, "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 4700, forks 1190 (observed 2026-08-28T04:08:57.195568+00:00)

## What it is
A universal Android adapter library for ListView, RecyclerView, and GridView that eliminates boilerplate ViewHolder code. It supports multiple item view types via delegates and decorator-style wrappers for headers, footers, load-more, and empty views.

## Use cases
- bind data to RecyclerView without writing ViewHolder boilerplate
- display multiple item view types in one list
- add headers and footers to a RecyclerView
- implement load-more pagination in a list
- show an empty view when the list has no data
- chain multiple adapter features like empty view plus load more

## When to choose
- building Android lists with ListView, RecyclerView, or GridView in Java
- you want to reduce repetitive adapter and ViewHolder code
- you need multi-type items, headers, footers, load-more, or empty views with minimal setup

## When to avoid
- starting a new project in Kotlin with modern Jetpack libraries like ListAdapter or Paging
- you need Compose-based UIs
- you require actively maintained dependencies

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, mobile-framework
- domain: mobile-development, android-tools, developer-tools
- platform: jvm
- tags: adapter, recyclerview, listview, viewholder, multi-item-type, load-more, header-footer, empty-view, android, mobile

## Member repositories
- hongyangAndroid/baseAdapter (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:57.195568+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-29T18:19:13.164155+00:00, confidence not recorded.
  - readme: https://github.com/hongyangAndroid/baseAdapter (fetched 2026-08-28T04:08:57.195568+00:00, sha db13fc51493e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
