Search code examples
androidgridviewanimationandroid-3.0-honeycombviewgroup

Animate GridView Children


I was wondering if there is a way that I can animate my GridView's Children to their new positions. So, for example, slide in from the left and when at the end of a row, slide off to the right. This will give the effect of each child moving to its new position, rather than just appearing there.

I have looked around, and could not find any useful information. Ideally a small code sample will get me on my way.

Thanks


Solution

  • You should consider using GridLayoutAnimationController. GridLayoutAnimationController docs