Using an ArrayAdapter
and an Android Listview
, I would like to be able to automatically start an animation with each row of the Listview, when the element is added or removed from my ArrayList
.
I found a lot of tutorials, but they work with a onItemClickListener
,
so the animation is started when the user clicks on a row.
In my case, rows are added programmatically, and might be deleted anytime by my app. I can't find the easiest way to access the view
related to the ArrayList element I am dealing with.
I would like the animations to be quite long (30 seconds), so even if the view isn't currently visible on the listview
, I would like the animation to be engaged when the user will scroll to the view
.