Intent.putExtras size limit?

后端 未结 3 1928
执念已碎
执念已碎 2020-12-02 01:57

I\'m trying to pass data from one activity to another via Intent.putExtras like this:

private ArrayList         


        
3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-02 02:31

    Just in response to Snicolas' answer:

    Application is already a Singleton, no need to "turn it to" one.

    Personally, after some serious reliance on Application to hold data for a long time, I've come to not trust it entirely. I use self-caching data objects to mitigate the problems though ;)

提交回复
热议问题