Home
»
Android
»
bitmap
»
hashmap
»
linklist
»
list
»
memory-leak
»
out-of-memory
»
tutorial
»
Memory Leak and Out of memory Error using List,LinkedList and HashMap (Android)
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
// constructor to create the objects
public BitmapStorage(String content, ArrayList
mContent = content;
Posted by Sans | Published at 12:25 PM
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment