Is it possible to add / remove items from a ListView using the CursorAdapter?

I'm just wondering if it is possible to animate removal / addition from elements when I request my cursor (and, for example, some basic data is changed). Or should I check the differences manually and assign / remove them from my list to get the animations I need?

I use a slightly different version of ListViewAnimations and created my own cursor adapter to use.

So basically, I would like to know how to check if there are differences inside the cursor (element is missing, element is added) so that I can animate them.

+6
source share

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


All Articles