vlayout ProGuard rules

vlayout – is a powerfull LayoutManager extension for RecyclerView, it provides a group of layouts for RecyclerView.

Make it able to handle a complicate situation when grid, list and other layouts in the same recyclerview.

ProGuard rules for vlayout

By default, shrinking is applied; all classes and class members are removed. ProGuard obfuscates classes, fields, and methods with short names. You have to set up a ProGuard configuration in your proguard-rules.pro file.

# vlayout
-keepattributes InnerClasses
-keep class com.alibaba.android.vlayout.ExposeLinearLayoutManagerEx { *; }
-keep class android.support.v7.widget.RecyclerView$LayoutParams { *; }
-keep class android.support.v7.widget.RecyclerView$ViewHolder { *; }
-keep class android.support.v7.widget.ChildHelper { *; }
-keep class android.support.v7.widget.RecyclerView$LayoutManager { *; }

For more information about vlayout please see the website.

Static Gson ProGuard rules

Popular ProGuard rules