//传递   
Map<String,Object> data=orderlist.get(arg2-1); SerializableMap tmpmap=new SerializableMap(); tmpmap.setMap(data); bundle.putSerializable("orderinfo", tmpmap); intent.putExtras(bundle); //新建一个class public class SerializableMap implements Serializable { private Map<String,Object> map; public Map<String,Object> getMap() { return map; } public void setMap(Map<String,Object> map) { this.map=map; } } //接受 Bundle bundle = getIntent().getExtras(); SerializableMap serializableMap = (SerializableMap) bundle .get("orderinfo");

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-02
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
  • 2022-12-23
  • 2022-12-23
  • 2022-02-20
  • 2021-12-05
相关资源
相似解决方案