DevBytes: Animating ListView Deletion

Subscribers:
1,350,000
Published on ● Video Link: https://www.youtube.com/watch?v=YCHNAi9kJI4



Duration: 15:26
56,353 views
333


Animating changes to ListView items can be tricky, with views getting recycled as the contents of the ListView change. This episode covers one approach to animating swiping of items out of the list and animating the views around that item to close the resulting gap.

An earlier version of this technique was described in the talk "A Moving Experience" at Google I/O 2013: http://www.youtube.com/watch?v=ihzZrS69i_s

Code: http://developer.android.com/shareables/devbytes/ListViewRemovalAnimation.zip

#devbytes #animations







Tags:
Android
GDL
DevBytes
gdl
adl
android
google
developers