# zaaach/CityPicker

:fire::fire::fire:城市选择、定位、搜索及右侧字母导航，类似美团 百度糯米 饿了么等APP选择城市功能

Repository: https://github.com/zaaach/CityPicker
Canonical: https://ross.abutalabs.com/products/citypicker
Language: Java
License Family: other
Topics: city, indexbar, recyclerview, location
Last push: 2021-07-07T06:55:07+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": 3840, "days_push": 1883, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3126, forks 588 (observed 2026-08-28T04:07:44.472799+00:00)

## What it is
An Android library providing a city selection dialog with alphabetical index bar, hot cities, pinyin/name search, and a pluggable location interface, similar to pickers in Meituan or Ele.me apps. It is built on DialogFragment and integrated via JitPack with one-line setup.

## Use cases
- add a city picker to an android app
- let users search cities by name or pinyin
- show hot cities with alphabetical navigation
- integrate city selection with custom location SDK
- build a meituan-style city selection screen

## When to choose
- you need a ready-made Chinese city selection UI on Android
- you want hot cities, search, and letter index out of the box
- you want to plug in your own location provider

## When to avoid
- you need non-Chinese city data or international city lists
- you need a Jetpack Compose implementation
- you require an actively maintained library with a license

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, search-engine, geospatial
- domain: mobile-development, android-tools
- platform: jvm
- tags: city-picker, indexbar, recyclerview, android-library, location-picker, pinyin-search, maps, android, mobile

## Member repositories
- zaaach/CityPicker (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:44.472799+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:26:22.870696+00:00, confidence not recorded.
  - readme: https://github.com/zaaach/CityPicker (fetched 2026-08-28T04:07:44.472799+00:00, sha 0d3fa098fd32)
- Data as of 2026-08-30T08:39:29.467469+00:00.
