FlowLayout
FlowLayout copied to clipboard
有一个小问题哈,
不足一行的情况下不换行的判断里,viewgroupWidth和viewGroupHeight木有刷新
缺少了viewGroupWidth的刷新会导致在不足一行时显示不完整 viewGroupWidth = Math.max(currentLineWidth, widthSize); 在不足一行的else判断里加上这个就好了,