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
2010-05-10 22:42:30
onComplete belongs to the private Class DeckPanel.SlideAnimation. Cannot be overridden.
Kasturi
2010-05-11 12:39:27