Parcelable – sending arbitrary objects using Intent in Android

Using Parcelable

Parcelable is an interface for serialization/deserialization of Java objects used in Android. Parcelable object can be sent in Intent’s extras same as any other base type. Parcelable serialization/deserialization works faster than Java’s Serializable, but is a bit more complicated to implement. Nevertheless, you still need two functions to be defined and one static class with two simple methods. Not a big price for speed…
read more