finds.dev← search

// the find

Trinea/android-demo

★ 1,053 · Java · updated Mar 2026

Android common lib demo, include ImageCache, HttpCache, DropDownListView, DownloadManager, install apk silent and so on, you can find description

A demo app for Trinea's android-common library, showing off image caching, HTTP caching, pull-to-refresh ListView, auto-scrolling ViewPager, and a handful of other Android UI patterns. It's a companion piece to a blog series, not a standalone library — you're expected to read the linked Chinese-language posts to understand what you're looking at.

The two-level image cache demo (memory + SD card) covers a pattern that tripped up a lot of Android developers before Glide/Picasso dominated; seeing it implemented from scratch is still instructive. The AIDL service demo is one of the few places you'll find a working end-to-end example of bound services with a custom interface. The pull-to-refresh ListView implementation predates SwipeRefreshLayout and shows the raw touch event handling that Google later abstracted away — useful if you're maintaining legacy code. Directory structure is flat and each demo is self-contained, so you can read one file without chasing imports across the project.

This targets Android 2.x/3.x era APIs — Gallery widget, pre-AppCompat Fragment patterns, and the old ActionBar setup. None of this is how you'd build Android in 2024. The bundled JAR dependencies (AdMob 6.4.1, Google Analytics) are years out of date and likely incompatible with current SDK tooling. The README is primarily Chinese with no English translation, and the linked blog posts are on an external personal site that may not stay up. There's no test coverage of any kind — it was always a demo, never meant to be production-grade or maintained.

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 →