SwipeMenuListView icon indicating copy to clipboard operation
SwipeMenuListView copied to clipboard

ListItem为两种Layout时容易出错

Open XinwenCheng opened this issue 8 years ago • 0 comments

如果SwipeMenuListView中只包含一种layout的ListItem,上下滚动时,列表中的项基本不会出错。但是如果根据情况在ListAdapter中判断输出两种layout(比如其中一种为分组标题项)的话,首次输出没有问题,但上下滚动时ListItem的顺序必然出错,而且很难看出位置出错的规律。

已使用ViewHolder来缓存View,但以前没使用ViewHolder的时候也会出现同样的问题。即使列表中各项的数据不存在任何异步操作,也会出现同样的问题。

XinwenCheng avatar Jan 25 '16 02:01 XinwenCheng