views:

117

answers:

2

I have a Deck Panel with AnimationEnabled(true). I want to know when the animation completes when i change the deck in order to perform other tasks.

A: 

Did you try subclassing DeckPanel and overriding onComplete()?

public MyDeckPanel extends DeckPanel{
    @Override
    protected void onComplete(){
        super.onComplete();
        //What you want to do once the animation completes
    }
}
Cesar
onComplete belongs to the private Class DeckPanel.SlideAnimation. Cannot be overridden.
Kasturi
A: 

I guess the answer would be there is no way to do it

Kasturi