Andreas Ka
Andreas Ka

Reputation: 859

applyTransformation method not invoked in custom animation

The applyTransformation method in my custom Animation is somethimes not being called after I started my animation with view.startAnimation(myAnimation). Is this a known issue?

Upvotes: 9

Views: 1724

Answers (1)

Zaartha
Zaartha

Reputation: 1126

Try this.. worked well for me.

 view.startAnimation(myAnimation);
 View parent = (View)view.getParent();
 parent.invalidate();

Upvotes: 7

Related Questions