Skip to content

mufumbo/android-helper

Repository files navigation

Android Helper

These are useful classes that I use across some projects.

Fast helper to download and display images asynchronously in a ListView. Caching is done in-memory by SoftReference.

First consumes the LAST images added to the queue and kill the queue tail.

It's useful when you are displaying thumbnails on a ListView and you don't want to loose time downloading the old elements of the list. Instead, you want to show the current elements that were last shown.

Create a ViewHolder for ListView that implements ThumbEvent and then when populating the ViewHolder: thumbLoaderInstance.pushEvent(viewHolderInstanceThatImplementsThumbEvent, true);

Releases

No releases published

Packages

No packages published