Change color of an item in ListView with SimpleAdapter
问题 I'm populating a ListView using a SimpleAdapter ArrayList<Recipe> ciboList = null; ArrayList<HashMap<String,Object>> data = new ArrayList<HashMap<String,Object>>(); for(int i=0;i<ciboList.size();i++){ // Recipe is my own class defined in another java Recipe r = (Recipe) ciboList.get(i); HashMap<String,Object> ricettaMap = new HashMap<String, Object>(); // Informations loaded from Recipe.java ricettaMap.put("tipo", r.getTipo()); ricettaMap.put("titolo", r.getTitolo()); ricettaMap.put(