Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


After reloadData when no dataSource is empty (0 items) two cells are shown #176

SergeyAniskin opened this Issue · 0 comments

1 participant


The problem is in cached cells. I added this code to the end of cleanupUnseenItems seems it solves the problem

if (_numberTotalItems == 0)
[self.itemSubviewsCache enumerateObjectsUsingBlock:^(id obj, NSUInteger index, BOOL *stop)
if ([obj isKindOfClass:[GMGridViewCell class]])
[(UIView *)obj removeFromSuperview];
self.itemSubviewsCache = [NSArray array];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.