I\'m attempting to animate the removal of a ListView item using this:
mListView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Overr
I just found a beautiful solution: https://github.com/paraches/ListViewCellDeleteAnimation
Here is video: http://www.youtube.com/watch?v=bOl5MIti7n0
Many thanks to 'paraches' ;)
Edit
As of Android version 22.0.0 the new android.support.v7.widget.RecyclerView is available as a successor of ListView
. Standard add/remove/update animations are available out of the box. The widget animations are also easy to customize (few custom animations).
I strongly recommend switching from ListView
to RecyclerView
if you need custom item animations.