两个RecyleView嵌套时,内部RecyleView不能Wrap_content
在外部的adapter中需要定制LayoutManager,并设置setAutoMeasureEnabled为false:一、定制LayoutManager:public class FullyLinearLayoutManager extends LinearLayoutManager { private static boolean canMakeInsetsDirty = true; ...
原创
2018-03-24 14:37:57 ·
184 阅读 ·
0 评论