patternArray = new String[jsonItems];
}
int itemCount = 0;
for (int i = 0; i < jsonArray.length(); i++) {
jsonObj = jsonArray.getJSONObject(i);
jsonKeys = jsonObj.keys();
while (jsonKeys.hasMoreElements()) {
jsonObjKey = (String) jsonKeys.nextElement();
if (jsonObjKey.equalsIgnoreCase(HEX_COLOR)) {
hexColor = jsonObj.getString(jsonObjKey);