0
我建立DTO用于数据阵列(从JSON)对象并执行parcelable发送DTO的数组列表到另一个类,但我面对解组异常与自定义Parcelable对象
解组未知类型代码7471216 at offset 476 this issue
。我认为列表答案读/写parcelling有一些问题。我无法找到该错误。我正在发送我的数据列表,如intent.putParcelableArrayListExtra("xxxxx", MyList);
,但在获取另一个活动时我收到了上述错误。请帮忙。
response{
"errorMessage": null,
"status": true,
"data": [
{
"id": "xxxx",
"question": "Why is your xxxx?",
"isMandatory": true,
"typeOfQuestion": "OPEN",
"answers": [
],
"active": true
},
{
"id": "xxxxx",
"question": "what is your name",
"isMandatory": true,
"typeOfQuestion": "OPEN",
"answers": [
],
"active": true
}
],
"httpStatus": 200
}
Parcelable类:
请注明该活动获取数组列表的代码。 –
@ sharma.mashesh,看着你的个人资料我注意到你几乎从不接受答案。如果他们帮助你解决你的问题,你应该接受更多的答案。如果你这样做,你可能会帮助有同样问题的其他人。 –
肯定会做.. @ Rolfツ –