Good day, this is kind of confusing me now(brain freeze!) and seem to be missing something. Have an ArrayList which i populate with a HashMap. now i put in my HashMap and arrayl
Try it this way...
I am considering the HashMap with key and value of type String, HashMap
HashMap
String
HashMap hmap = new HashMap(); hmap.put("key1","Val1"); hmap.put("key2","Val2"); ArrayList arList = new ArrayList(); for(Map.Entry map : hmap.entrySet()){ arList.add(map.getValue()); }