Hello, I have 16 ImageView objects on a view. For each one I am applying a composition of Rotation and translation by using the AnomationSet object. However the startAnimation method has to be called for each view. Currently I have a for loop and for each ImageView I start the animation passing the AnimaitonSet object. 1) Is there a way to apply the AnimationSet (or a single Animation) to the collection of ImageView? (For instance if I could apply the AnimationSet object to the container view and this was then applied to all children... the problem would be solved)
The other issue is that I need to start a task as soon as all the ImageView animation are completed. The way I do it now is with a listener I have created and when it is notified by the onAnimationEnd call, id decrements a counter. When the counter is 0 it means all ImageViews animation are completed... then I fire an event to execute my task. 2) Is there a better built-in mechanism ?
Thanks.