scrolling in listview with different cell height

前端 未结 1 1760
南方客
南方客 2021-02-13 15:00

I have a listview and its rows have different heights.

When I scroll up, rows appear to move up or down erratically.
(I don\'t find the behavior when I scroll down

相关标签:
1条回答
  • 2021-02-13 15:17

    In this case, setting the right item height did the trick :

    How to set different heights for each row in a ListView?

    Edit: oh, and make sure you recycle the items correctly :

    ListView reusing views when ... I don't want it to

    0 讨论(0)
提交回复
热议问题