question: public static List < Integer > createColors ( Resources r , int [ ] colors ) { List < Integer > result = new ArrayList < Integer > ( ) ; for ( int i : colors ) { result . add ( r . getColor ( i ) ) ; } return result ; }
target:  turn an array of resource-colors (contains resource-id integers) into an array list of actual color integers