UPDATES: Even if i don\'t retrieve images from cache, i tried to retrieve via Drawable where i stored all the 18 images in the \"drawable-mdpi\" folder. Still,
I just solved my own question.
In this line, canvas.drawBitmap(puzzle.get(cnt), srcRect, dstRect,null);
within each of the for-loop which i am using it to draw the bitmap onto the canvas, i need to cast the each item in the ArrayList (puzzle) to Bitmap. Only then will the image get display.
I thought that if the ArrayList is definite as such, ArrayList<Bitmap> puzzle = new ArrayList<Bitmap>();
each items in the ArrayList would be of Bitmap type. But isn't that always true?