I\'m trying to pass a List in my parcelable doing:
public class MetaDados implements Parcelable { private List sizeImages; public MetaDados(Lis
Try this instead:
sizeImages = new ArrayList<Long>(); // or any other type of List in.readList(sizeImages, null);
The Android documentation for Parcel.readList says:
Read into an existing List object from the parcel
and thus, you need to first create the List.
List