Closed protectedMan closed 5 years ago
使用最新demo修改,使用gridview实现一个3列的列表,当子布局高度为wrap_content时,会出现动态图所示的bug(列表在快速拖动时每个item的高度会变大),如果子布局高度是固定值则不会出现这种情况。 子布局代码以及问题动态图演示如下:
每次高度的变化量跟ItemDecoration时设置的分割线高度有关,
嗯,多谢指出demo问题,我们这边会进行修改。 这个问题是属于布局层面的问题和adapter无关,样式是由开发者决策的。
使用最新demo修改,使用gridview实现一个3列的列表,当子布局高度为wrap_content时,会出现动态图所示的bug(列表在快速拖动时每个item的高度会变大),如果子布局高度是固定值则不会出现这种情况。 子布局代码以及问题动态图演示如下: