Deep clones with Android Parcelable

Deep Clones There are many ways to create deep clones of an object, from Java’s Clone() function to Copy Constructors to custom implementations. All methods come with their own problems and a lot of boilerplate code. With Parcelable and advent of Kotlin, creating simple deep clones can be of no effort in your android project. Why Parcelable? Serialization is a technique to convert objects into a byte stream and Deserialization vice versa. In this process totally new objects are created

Continue Reading

Site Footer

Sliding Sidebar