finds.dev

Trinea/android-demo

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

View on GitHubHomepage ↗

★ 1,053Javaupdated Mar 2026

// the take

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.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,053
Forks
776
Language
Java
Last commit
25 Mar 2026

// nearby

If android-demo isn't quite it.

All repos →