From c0269fcfa876b9c5cf309b2006462b4d09c5ef95 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 28 七月 2021 18:09:02 +0800 Subject: [PATCH] 包名及目录修改 --- library-NineOldAndroids/src/com/nineoldandroids/animation/AnimatorSet.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library-NineOldAndroids/src/com/nineoldandroids/animation/AnimatorSet.java b/library-NineOldAndroids/src/com/nineoldandroids/animation/AnimatorSet.java index 0027ae1..eb40f55 100644 --- a/library-NineOldAndroids/src/com/nineoldandroids/animation/AnimatorSet.java +++ b/library-NineOldAndroids/src/com/nineoldandroids/animation/AnimatorSet.java @@ -216,9 +216,9 @@ for (Node node : mNodes) { Animator animation = node.animation; if (animation instanceof AnimatorSet) { - ((AnimatorSet)animation).setTarget(target); + animation.setTarget(target); } else if (animation instanceof ObjectAnimator) { - ((ObjectAnimator)animation).setTarget(target); + animation.setTarget(target); } } } @@ -949,7 +949,7 @@ public Node clone() { try { Node node = (Node) super.clone(); - node.animation = (Animator) animation.clone(); + node.animation = animation.clone(); return node; } catch (CloneNotSupportedException e) { throw new AssertionError(); -- Gitblit v1.8.0