Пример #1
0
 public void endAnimation() {
   if (fAnimator != null) {
     fAnimator.end();
     fAnimator = null;
   }
 }
Пример #2
0
 public void startAnimation() {
   if (view().drawing() instanceof Animatable && fAnimator == null) {
     fAnimator = new Animator((Animatable) view().drawing(), view());
     fAnimator.start();
   }
 }