Scrolling to delete list shows artifacts

I'm trying to scroll a Chet Haase to delete, but the example he provided is to leave artifacts and a ghost list view item as soon as the number of items is less than the number to fill the screen.

In addition, if you delete the mentioned background container, you will see more strange artifacts.

This image shows the artifacts when you swipe, after removing the background container

This shows the last item being repeated after the second item was removed by swiping

The source code for the example is taken from here: Geek Dev Bytes Graphics

+4
source share
1 answer

Try to implement SwipeListView . It has the same function as you.

enter image description here

+1
source

Source: https://habr.com/ru/post/1490884/


All Articles