Pregunta de entrevista de theScore

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

Respuesta de la entrevista

Anónimo

13 de feb de 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.