I am a beginner in Android development. I am using a ListView in my app which is being populated by SQLite database with the help of CursorAdapter.
And I am using CursorLoader with notifyChange.
As of now the ListView updates in real time with new data as I delete or Insert new data into database. But I want to add animation for items for deletion and insertion of items.
I was able to find deletetion animation for when using ArraylistAdapter - DevBytes -> https://www.youtube.com/watch?v=YCHNAi9kJI4 (DevBytes Code)
But how to apply animations when using a CursorAdapter?
I am also a beginner but for insertion operation, you have to add the animation to the oncreate() method when list is loaded the first time.
For the animation you have to create animation file (xyz.xml) under the res/anim folder.