Memory efficient bitmap caching: This is particularly important if your application uses animations as they will be stopped during GC cleanup and make your application appears sluggish to the user. A cache allows reusing objects which are expensive to create. If you load on object into memory, you can think of this as a cache for the object.Working with bitmap in android is tricky.It is more important to cache the bimap if you are going to use it repeatedly.
LruCache<String, Bitmap> mMemoryCache;//declaration of LruCache object.
|key to store bitmap in memory cache
|bitmap value which will cache into memory