2012年10月25日

Android中Parcelable接口用法

摘要: 1. Parcelable接口Interface for classes whose instances can be written to and restored from a Parcel。 Classes implementing the Parcelable interface must also have a static field called CREATOR, which is an object implementing the Parcelable.Creator interface。2.实现Parcelable就是为了进行序列化,那么,为什么要序列化?1)永久性保存对象 阅读全文

posted @ 2012-10-25 16:53 Harvey Ren 阅读(159763) 评论(20) 推荐(44) 编辑

导航