finds.dev← search

// the find

Trinea/android-common

★ 4,998 · Java · updated Mar 2026

Android common lib, include ImageCache, HttpCache, DropDownListView, DownloadManager, Utils and so on

A utility library for Android that bundles image/HTTP caching, a pull-to-refresh ListView, download management, and a large collection of helper classes. Built for the pre-Jetpack era when Android's stdlib left obvious gaps. If you're starting a new Android project today, you wouldn't reach for this.

The cache eviction policy design is unusually thorough — FIFO, LIFO, LRU, priority-based, and size-based removal are all pluggable via the RemoveType strategy pattern rather than hardcoded. The DownloadManagerPro wrapper adds query helpers and cancellation that the system DownloadManager API genuinely lacks. PackageUtils and ShellUtils cover root/silent-install flows that no official API exposes. The codebase is clean Java with consistent naming, making it easy to extract individual classes rather than taking the whole library.

This is a pre-AndroidX, pre-RecyclerView, pre-OkHttp codebase — the image cache rolls its own HTTP stack and the ListView widgets are obsolete now that RecyclerView exists. No AndroidX migration has happened; integrating this into a modern project triggers a support library conflict immediately. The README mentions upcoming modernization work and cites 'Claude/Codex for OSS' as an accelerant, which is not a credible maintenance signal. Tests are absent, which matters specifically for the cache eviction logic where off-by-one bugs are non-obvious.

View on GitHub → Homepage ↗

// 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 →