Whats differences b/w Serializable&Parcelable in Android for data transfer? - TechRepublic
Question
October 10, 2023 at 05:57 AM
julienester

Whats differences b/w Serializable&Parcelable in Android for data transfer?

by julienester . Updated 2 years, 7 months ago

I’m currently working on an Android app and trying to understand the nuances of data transfer between components. In particular, I’m interested in comprehending the differences between two common approaches, Serializable and Parcelable.
I’ve come across both of these mechanisms for object serialization and data transfer in Android, but I’m a bit confused about when to use one over the other and what the practical differences are. Could someone kindly explain?

This discussion is locked

All Comments