Android, How to use readTypedList method correctly in a Parcelable class?

前端 未结 4 1428
粉色の甜心
粉色の甜心 2020-12-13 18:55

I have two Activities, in the first one, I instanciate an ArrayList of Object myObject. In the second activity, i need to get this Arraylist. I\'ve found a tutorial : http:/

4条回答
  •  情话喂你
    2020-12-13 18:58

    Another solution: use createTypedArrayList instead of readTypedList which requires a non-null List object reference

提交回复
热议问题