已经extends Serializable
但是因为类里有个对象没有extends Serializable
所以报这个错
把这个对象放到一个比如init()方法里 以及其他地方修改下 即可
已经extends Serializable
但是因为类里有个对象没有extends Serializable
所以报这个错
把这个对象放到一个比如init()方法里 以及其他地方修改下 即可
GTMD小学期*2 1.类没有实现Serializable接口 解决办法:在类的声明上加上一句 implements Serializable 2.类的成员没有实现
Android中的Activity传递数据时,为了方便往往将很多数据封装成对象,然后将整个对象传
本编主要基于B站尚硅谷的视频及文档做出的一些改写和添加自己的
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M