Sollicitatievraag bij theScore

In Android development, what is the difference between Parcelable and Serializable?

Antwoord op sollicitatievraag

Anoniem

13 feb 2016

Both are interfaces used to save object data in an accessible way (to disk or to a string). Parcelable uses the iterator pattern to save and retrieve the data while Serializable uses key/value pairs to save and retrieve data.