Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个列表视图,它的行有不同的高度。
当我向上滚动时,行似乎不规律地向上或向下移动。 (向下滚动时我没有找到该行为)
我怀疑这是因为
listView 选择使用的行之一 该行放置在可见行的顶部。 listView 改变行的高度(这里不稳定的运动)
但这是一个猜测。
我尝试使用谷歌搜索,因为这应该是一个常见问题,但找不到任何问题。
在这种情况下,设置正确的项目高度就可以了:
如何为 ListView 中的每一行设置不同的高度?
编辑:哦,确保您正确回收这些物品:
ListView 重用视图时......我不希望它