I have a custom 3d flip that needs to get the root view to access the two views that are flipped, like this: v.startAnimation(new Flip3D(v));
Then, I have a grid layout with a GridLayoutAnimationController that loads a simple scale animation.
What i'm trying, is to trigger the 3d flip on each child when the layout animation ends.
Is it possible? How can I get the view that has ended the animation to start the 3d animation?
What I tried is to attach an animation listener to the scale animation and count how many times onAnimationEnd gets called. Each time a view of the grid finish the animation I access the grid child at that position to start the 3d flip animation but, it has no effect.
Any idea?