[android-developers] Re: LayoutAnimatorController "IsDone"

2009-06-08 Thread Romain Guy
Use GridView.setLayoutAnimationListener(). On Mon, Jun 8, 2009 at 4:30 PM, az9702 wrote: > > Romain, > > Thank you for the suggestion. I just tried but rotation still starts > before GridView completes. > > Correct me if I misunderstand but here is what may happen: > > In GridView, a layoutAnimat

[android-developers] Re: LayoutAnimatorController "IsDone"

2009-06-08 Thread az9702
Romain, Yes - setting listener on the ViewGroup (i.e. the GridView) works. Thanks. Don't mean to beat on this topic but why isn't "isDone()" OK for GridView or ViewGroup animation, at least not in my example ? Thanks again. - Simon On Jun 8, 3:17 pm, Romain Guy wrote: > Use a layout animati

[android-developers] Re: LayoutAnimatorController "IsDone"

2009-06-08 Thread az9702
Romain, Thank you for the suggestion. I just tried but rotation still starts before GridView completes. Correct me if I misunderstand but here is what may happen: In GridView, a layoutAnimation is used. This LayoutAnimationController in turns specifies animation for each child view. So what

[android-developers] Re: LayoutAnimatorController "IsDone"

2009-06-08 Thread Romain Guy
Use a layout animation listener instead. On Mon, Jun 8, 2009 at 3:00 PM, az9702 wrote: > > Hi, > > I am implementing a two-step animation: > (1) Displaying a set of images using Grid layout (similar to Api Demo > LayoutAmination4) > (2) Upon (1) completion, rotate out Grid layout around Y-axis &