xiangcman / LayoutManager-FlowLayout

快速利用RecyclerView的LayoutManager搭建流式布局
675 stars 157 forks source link

view重叠的问题。 #9

Open Wingene opened 7 years ago

Wingene commented 7 years ago

image 在添加view之前,应先removeAllViews。如上图红框所示

xiangcman commented 7 years ago

新的代码已经在onLayoutChilldren中对lineRows.clear了,removeAllViews()也是对views的清空,也是可以的

在 2017年9月27日,23:11,Wingene notifications@github.com 写道:

https://user-images.githubusercontent.com/5337398/30921371-f47790fc-a3d8-11e7-9b87-e3c000c50de8.png 在添加view之前,应先removeAllViews。如上图红框所示

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/1002326270xc/LayoutManager-FlowLayout/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/AHbxxQbGVLtx84FlB9SAYiSsSglk-17iks5smmWOgaJpZM4Pl7g3.