I would like to create some sort of Array of drawables to decrease the amount of code I have... IE:
PSUEDO
Using java Syntax Highlighting
- images[] = {image1, image2, image3, image4, image5}
- for(int i = 0; i < 5; i++)
- thedrawable = BitmapFactory.decodeResource(res,R.drawable.images[i]);
Parsed in 0.012 seconds, using GeSHi 1.0.8.4
The above example is not real code or anything but shows that I would like to use some sort of array for the drawables rather than having to have the "BitmapFactory.decodeResource(res,R.drawable.imageX);" on each line where I select an image.......