Parcelable, what is newArray for?

后端 未结 3 1865
深忆病人
深忆病人 2021-02-14 11:02

I am implementing Parcelable in order to transmit some simple data throughout an Intent.
However, There is one method in the Parcelable interface that I don\'t understand at

3条回答
  •  情书的邮戳
    2021-02-14 11:38

    this is a function to be called when you try to deserialize an array of Parcelable objects and for each single object createFromParcel is called.

提交回复
热议问题