finds.dev← search

// the find

hongyangAndroid/FlowLayout

★ 5,578 · Java · Apache-2.0 · updated Oct 2019

[不再维护]Android流式布局,支持单选、多选等,适合用于产品标签等。

A tag/chip flow layout for Android that wraps items onto new lines as they fill horizontal space, with built-in single/multi-select state management. It was a reasonable solution circa 2015-2017 before Google shipped Flexbox and Material chips. The repo has been explicitly abandoned since 2019.

The adapter pattern mirrors ListView/RecyclerView so any Android dev can pick it up in minutes. State persistence across configuration changes (rotation) is handled automatically, which was a genuine pain point in the era this was written. The selector-based checked state means you control the visual purely through drawables with no Java glue code.

Unmaintained since 2019 and says so in the title — this is not a soft deprecation, the author explicitly stopped. Google's Material Components library ships ChipGroup and Chip which cover the same use case with accessibility support, RTL, and active maintenance. No Kotlin, no Compose, no AndroidX — you're pulling in pre-AndroidX support library assumptions. The library artifact on Maven Central (com.hyman:flowlayout-lib) hasn't been updated to match any modern targetSdkVersion requirements.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →