Permalink
Browse files

Reuse decoration views after animation

  • Loading branch information...
1 parent 22369b7 commit 6ce57ce3de52dc1c5cf6d0db36587b8a5043f34c @cysp cysp committed Mar 5, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 PSTCollectionView/PSTCollectionView.m
@@ -1767,6 +1767,8 @@ - (void)updateWithItems:(NSArray *)items {
[self reuseCell:(PSTCollectionViewCell *)view];
} else if (key.type == PSTCollectionViewItemTypeSupplementaryView) {
[self reuseSupplementaryView:view];
+ } else if (key.type == PSTCollectionViewItemTypeDecorationView) {
+ [self reuseDecorationView:view];
}
}
}];

0 comments on commit 6ce57ce

Please sign in to comment.