What is difference between Serialable and Parcelable?

Minh Tung

New member
What is difference between Serialable and Parcelable?
Answer
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. … However, you can use Serializable objects in Intents.
 

Tìm kiếm

Back
Top