samvermette/SVPullToRefresh

addInfiniteScrollingWithActionHandler causes the collectionView or tableView to blink

marcelosalloum opened this issue · 3 comments

Hey guys,

not sure if it has ever happened to you but when I add the infiniteScrolling to my CollectionView or tableView it blinks. Always happens to collectionViews but not always to tableView.

Does anyone also experiences this kind of thing?

Thanks

It happend to me as well, I think it's the contentInset cause the problem.

Not sure what was the cause, but I managed to fix the problem by dispatching call of reloadData to the main queue:

dispatch_async(dispatch_get_main_queue(), ^{
    [self.collectionView reloadData];
});

My issue is caused by estimatedRowHeight.should not set it then.

On Wed, Mar 18, 2015, 03:36 Marcelo Salloum dos Santos <
notifications@github.com> wrote:

Closed #242 #242.


Reply to this email directly or view it on GitHub
#242 (comment)
.