Serializable is a standard Java interface that’s simple to integrate into your app, as it doesn’t require any techniques. Despite being easy to execute, Serializable uses the Java reflection API, which makes it a slow process that builds lots of temporary objects.
Parcelable is optimized for Android, so it’s quicker than Serializable. It’s also completely customizable, so you can be precise about the serialization process, which results in fewer garbage objects.
While the developer may acknowledge that executing Parcelable does require more work, the performance benefits mean that they should advise using Parcelable over Serialization, wherever feasible.
Regards,
Nitesh Bavishiya