且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

路过的ArrayList<为MyObject>多个活动之间

更新时间:2022-04-18 07:09:35

如果您要发送对象的ArrayList那么你的类必须实现的 Parcelable 序列化接口。

If you want to send an ArrayList of objects then your class must implement the Parcelable or Serializable interface .

发送活动之间的自定义对象看到这些好的教程

See these good tutorials for sending custom object between Activities

http://androidideasblog.blogspot.in/2010/02/passing-list-of-objects-between.html

http://www.anddev.org/novice-tutorials-f8/simple-tutorial-passing-arraylist-across-activities-t9996.html