[RESOLVED] What is difference between Serializable and Parcelable ? Which is best approach in Android ?« Back to Questions List

Posted by admin
Asked on October 26, 2015 10:09 am
0

Serializable is a standard Java interface. You simply mark a class Serializable by implementing the interface, and Java will automatically serialize it in certain situations.

Parcelable is an Android specific interface where you implement the serialization yourself. It was created to be far more efficient than Serializable, and to get around some problems with the default Java serialization scheme.

Posted by admin
Answered On October 26, 2015 10:09 am