Question d’entretien chez theScore

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

Réponse à la question d'entretien

Utilisateur anonyme

13 févr. 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.