During my game loop I am constantly loading images using
BitmapFactory.decodeResource(getResources(), R.drawable.objectx);
Most of the time I'm calling images that have already been decoded earlier. Am I slowing down execution by decoding the resource every time?
Is it better to store every image into a Map (or Dictionary) at the beginning of the program? If so, how do you get the resource IDs for all images in the drawable folder?