alibaba / vlayout

Project 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.
http://tangram.pingguohe.net/
MIT License
10.8k stars 1.79k forks source link

release版本混淆有问题,debug版本正常 #457

Open andev009 opened 5 years ago

andev009 commented 5 years ago

已经加了-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.ChildHelper$Bucket { ; } -keep class android.support.v7.widget.RecyclerView$LayoutManager { ; }。 布局结构是两个StickyLayoutHelper下面是个LinearLayoutHelper,debug包跑正常,打包release版本,发现向下滑动后,LinearLayoutHelper的第一项置顶了,两个StickyLayoutHelper跑到LinearLayoutHelper的第一项的下面去了。请问这是什么原因?

andev009 commented 5 years ago

向下滑动后,LinearLayoutHelper的第三项置顶了,两个StickyLayoutHelper跑到LinearLayoutHelper的第三项的下面去了,还有其他两个LayoutHelper布局不见了,好像是adapter错位了,是混淆出问题吗?