eg.
List<Map<String, Object>> list = new ArrayList();
增加:
Map map = new HashMap();map.put("a",2);map.put("B","222");
list.add(map);
System.out.println("list::::::::::"+list);
修改:
//修改
((Map)list.get(
0
)).put(
"a"
,
5
);
//修改值
adapter.notifyDataSetChanged();
//刷新列表