摘要: 1. Parcelable接口Interface for classes whose instances can be written to and restored from a Parcel。 Classes implementing the Parcelable interface must ... 阅读全文
posted @ 2014-09-06 14:44 jiefeiduan 阅读(2316) 评论(0) 推荐(0) 编辑
摘要: 对于Android来说传递复杂类型,主要是将自己的类转换为基础的字节数组,Activity之间传递数据是通过Intent实现的。 Android序列化对象主要有两种方法,实现Serializable接口、或者实现Parcelable接口。实现Serializable接口是JavaSE本身就支持的,而... 阅读全文
posted @ 2014-09-06 09:39 jiefeiduan 阅读(199) 评论(0) 推荐(0) 编辑