Label

Memory Leak and Out of memory Error using List,LinkedList and HashMap (Android)


1. description:



One of the common mistakes developers often make is that never take care of Bitmap objects stored in a data structure like List, LinkedList, HashMap.
public class BitmapStorage {
String mContent;
ArrayList mImages;

// constructor to create the objects
public BitmapStorage(String content, ArrayList images) {
mContent = content;
Posted by Sans | Published at 12:25 PM

No comments :

Post a Comment

 
 
Copyright © 2014 All About Android Template Design By | Pathmo