package com.xjx.data; import java.io.Serializable; import java.util.List; import java.util.Map; /** * vatty * * * hongshengpeng.com * */ public class SerializableMaplist implements Serializable { private List<Map<String, Object>> maplist; public List<Map<String, Object>> getMap() { return maplist; } public void setMap(List<Map<String, Object>> maplist) { this.maplist = maplist; } } //查询成功 Intent intent = new Intent(); Bundle mybundle = new Bundle(); final SerializableMaplist myMap=new SerializableMaplist(); myMap.setMap(myNurseInfos); mybundle.putSerializable("listdata", myMap); intent.putExtras(mybundle); intent.setClass(getActivity(), NursingPageQuery.class); startActivity(intent); Bundle bundle = getArguments(); SerializableMap serializableMap = (SerializableMap) bundle.get("map"); hello = bundle.get("title").toString(); maplist =serializableMap.getMap();