摘要: Parcelable(SDK)Interface for classes whose instances can be written to and restored from aParcel.Classes implementing the Parcelable interface must also have a static field calledCREATOR, which is an object implementing theParcelable.Creatorinterface.Passing data between activities is quite easy.You 阅读全文
posted @ 2011-11-08 20:25 程序员天下 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 本文地址:http://blog.csdn.net/kongxx/article/details/6946517废话不说了,就是不想定义太多的java bean,有时候需求比较简单,就想着直接用java的集合类来替换太多的java bean定义,看下面的代码例子package org.garbagecan.xstreamstudy.converter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.thoughtwor.. 阅读全文
posted @ 2011-11-08 08:32 程序员天下 阅读(3114) 评论(0) 推荐(0) 编辑