Android-State ProGuard rules

Android-State – a utility library for Android to save objects in a Bundle without any boilerplate.

It uses an annotation processor to wire up all dependencies.

ProGuard rules for Android-State

Add the following lines to your ProGuard configuration proguard.cfg file in project.

# Android-State
-dontwarn com.evernote.android.state.**
-keep class com.evernote.android.state.** { *; }
-keep class **$$StateSaver { *; }
-keepclasseswithmembernames class * {
    @com.evernote.android.state.* ;
}
-keepnames class * { @com.evernote.android.state.State *;}

For more information about Android-State please see the website.

Related ProGuard rules

Static Gson ProGuard rules

Popular ProGuard rules