private static HashMap<Integer, Bitmap> mBitmapCache;
mBitmapCache.put(R.drawable.bg1,object);
R.drawable.bg1
is an int
... but i want to convert into Integer
because Hashmap
takes an Integer
... and when draw the multiple objects in seconds , it creates a Integer Object runtime
which affects the performence of the code...