Size limitation on attached Parcelable?

前端 未结 1 1946
太阳男子
太阳男子 2021-01-07 20:11

I want to know is there any size limitation on Parcelable that attached to an Intent? I Read some docs about Intents, Bundles

1条回答
  •  难免孤独
    2021-01-07 20:34

    Its explained on the docs here. The transaction buffer for each process is 1 mb. In my understanding the factors to be considered are:

    1. Individual size of transactions(maximum 1 mb)
    2. The number of transactions(the sum of size of all transactions should be less than 1 mb)

    0 讨论(0)
提交回复
热议问题