2014年3月31日

摘要: Gson registerTypeAdapter XXX class ,if u want serialize XXX class instance will crash.For example:gsonBuilder.registerTypeAdapter(Anima.class, new AnimaAdapter());//Anima is a normal class,and it's have some subclass //when u serialize Anima class instance ,will crash.//so u must serialize Anima 阅读全文
posted @ 2014-03-31 16:16 jhondge 阅读(370) 评论(0) 推荐(0) 编辑

导航