开发者

Fail to pass a List with a lot of Itens between Activities

I have this code:

Intent 开发者_JS百科intent = new Intent(currentActivity, nextActivity);

Bundle bundle = new Bundle(); bundle.putSerializable(nameParameter, serializable);

My serializable is a ArrayList with a bunch of elements. When I use the method startActivity. A FAILED BINDER TRANSACTION happens. How I can solve this?


an intent has a limited max size. consider passing your data in some other way: either as a list of IDs, in a file, in a database...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜