Memory allocation is very critical and complicated factor when we have to load a number of bitmap inside Android applications. Here is the official lessons from developer.android.com.
- Caching Bitmaps teach you using a memory and disk bitmap cache to improve the responsiveness and fluidity of your UI when loading multiple bitmaps.
- Managing Bitmap Memory teach specific things you can do to facilitate garbage collection and bitmap reuse.
Also, the video Bitmap Allocation by DevBytes introduce how to speed up bitmap loading and reduce garbage collection by reusing existing bitmaps.
[alert type=white ]
How to Speed up your Android Smartphone
Android Studio Shortcuts for Mac OS X
Android Navigation Drawer Example