# donkingliang/LabelsView

Android的标签列表控件。可以设置标签的选中效果。 可以设置标签的选中类型：不可选中、单选、限数量多选和不限数量多选等， 并支持设置必选项、单行显示、最大显示行数等功能。

Repository: https://github.com/donkingliang/LabelsView
Canonical: https://ross.abutalabs.com/products/labelsview
Language: Java
License: Apache-2.0
License Family: permissive
Topics: labels, tabs, android, custom-view, android-library, android-ui
Last push: 2023-05-09T12:10:39+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3466, "days_push": 1212, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1023, forks 157 (observed 2026-08-28T04:03:16.113524+00:00)

## What it is
LabelsView is an Android custom view library for displaying selectable label/tag lists. It supports selection modes including none, single-select, limited multi-select, and unlimited multi-select, plus required labels, single-line display, and max line/column limits.

## Use cases
- show selectable tag chips in an Android app
- implement single-select category picker UI
- limit multi-select tags to a maximum count
- display read-only label indicator rows
- build filter screens with required and optional tags
- cap label list to a fixed number of lines or columns

## When to choose
- you need a ready-made Android tag/label selection control with flexible selection modes
- you want XML-configurable styling via drawables and attributes
- you need required (non-deselectable) labels or max/min selection constraints

## When to avoid
- you are not building an Android app
- you need Jetpack Compose-native components rather than a View-based library
- you need a general-purpose RecyclerView layout manager for arbitrary child views

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, state-management
- domain: mobile-development, android-tools, frontend
- platform: jvm
- tags: android-ui, custom-view, labels, tag-selection, chips, android, mobile

## Member repositories
- donkingliang/LabelsView (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:16.113524+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-30T07:08:19.209674+00:00, confidence not recorded.
  - readme: https://github.com/donkingliang/LabelsView (fetched 2026-08-28T04:03:16.113524+00:00, sha 32e2726c3632)
- Data as of 2026-08-30T08:39:29.467469+00:00.
