Product List Technical Demo

By: Barry Holroyd

Download    Src    API

Product List Technical Demo is a technical demonstration of a high performance "list" implementation.
  • Two implementations are provided: AsyncTask-based and threads-based.
  • All images are downloaded in the background. Configurable look-ahead pre-loading of images is used to minimize delay.
  • Each initial image url is retained as a field and compared to the (potentially updated) URL of the ViewHolder upon image arrival. Images which arrive too late are dropped for the original request but cached for later use.
  • A fully configurable memory cache is included.
  • A fully configurable disk cache is included.

There are numerous cache configuration settings available under Settings so that you can see the effects of the caches in use.

As this is a technical demo its user-facing functionality is small (a simple list of products pulled from Walmart via the Walmart Open API, along with a separate screen to display individual products).

                 

Download    Src    API