The attached test app is based on the CustomListView with floating titles example with lazy loading applied. All appear to be working correctly. For demo purpose, the list is very short.
Now I want to incorporate the hide/show item code (mainly calling ResizeItem function) which has been tested on a regular CustomListView. In this test app. I try to hide all items containing text "2" and they are indeed hidden as expected. However, as shown in the attached screenshot, there is a space gap (which is a little taller than an item height) at the hidden item location. If I scroll the list up and down, the gap would increase. The CLV height and number of items remain unchanged all the times. Could someone kindly enough to tell me what I did wrong, please?
Now I want to incorporate the hide/show item code (mainly calling ResizeItem function) which has been tested on a regular CustomListView. In this test app. I try to hide all items containing text "2" and they are indeed hidden as expected. However, as shown in the attached screenshot, there is a space gap (which is a little taller than an item height) at the hidden item location. If I scroll the list up and down, the gap would increase. The CLV height and number of items remain unchanged all the times. Could someone kindly enough to tell me what I did wrong, please?