通过intent在activity之间传递自定义对象的时候,报了这个错,
原因记录一下:
传递的对象类实现了
Serializable接口
public class QueryResultResponse extends JsonResponse implements Serializable{}
但是里面的内部类也要实现这个接口才可以
public static class ContentBean implements Serializable {}
通过intent在activity之间传递自定义对象的时候,报了这个错,
原因记录一下:
传递的对象类实现了
Serializable接口
public class QueryResultResponse extends JsonResponse implements Serializable{}
但是里面的内部类也要实现这个接口才可以
public static class ContentBean implements Serializable {}