Tag Archives: addBitmapToMemoryCache

Faster Loading images in GridViews or ListViews in Android using Menory Caching, Complete implemenation with sample code.

Hi all This example shows you how to load large images in the gridview without any lag or without outofmemory error. This sample application uses the LruCache to hold the images. A cache that holds strong references to a limited number of values. Each time a value is accessed, it is moved to the head of a queue.… Read More »

What is a Memory Heap Size in android? and how can use Bitmap Efficiently?

Memory Heap Size Android is a full multitasking system so it’s possible to run multiple programs at the same time and obviously each one can’t use all of your device memory. For this reason there is a hard limit on your Android application’s heap size: if your application needs to allocate more memory and you have gone up… Read More »