Parceler ProGuard rules

Parceler - code generation library that generates the Android Parcelable boilerplate source code. No longer do you have to implement the Parcelable interface, the writeToParcel() or createFromParcel() or the public static final CREATOR. You simply annotate a POJO with @Parcel and Parceler does the rest.

ProGuard rules for Parceler

Add the following lines to your ProGuard configuration in project.

# Parceler library
-keep interface org.parceler.Parcel
-keep @org.parceler.Parcel class * { *; }
-keep class **$$Parcelable { *; }

For more information about Parceler please see the website.

Related ProGuard rules

Static Gson ProGuard rules

Popular ProGuard rules