修改List<Map<String, Object>>的值

List<Map<String, Object>>  aList = new ArrayList();

//加入一个Map元素
Map map = new HashMap();
map.put("a",2);
aList.add(map);
 
//获取下标为0的元素,并修改值
aList.get(0).put("a",3);
//刷新列表
adapter.notifyDataSetChanged();

原文地址:https://www.cnblogs.com/xmyjcs/p/10421651.html