Skip to content

Commit

Permalink
Merge pull request willowtreeapps#86 from tfonfara/develop
Browse files Browse the repository at this point in the history
Fixed recycler view animation
  • Loading branch information
bret-fears authored May 18, 2017
2 parents 543f186 + e405461 commit 61b0980
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/main/java/com/willowtreeapps/spruce/Spruce.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ private AnimatorSet getAnimatorSetForSort(Animator[] animators, SortFunction sor
for (Animator animatorChild : animators) {
Animator animatorCopy = animatorChild.clone();
animatorCopy.setTarget(childView.getView());
animatorCopy.start();
animatorCopy.cancel();
animatorCopy.setStartDelay(childView.getTimeOffset());
animatorsList.add(animatorCopy);
}
Expand Down

0 comments on commit 61b0980

Please sign in to comment.