Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addInfiniteScrollingWithActionHandler not getting called #243

Open
funwithprogramming opened this issue Mar 15, 2015 · 9 comments
Open

addInfiniteScrollingWithActionHandler not getting called #243

funwithprogramming opened this issue Mar 15, 2015 · 9 comments

Comments

@funwithprogramming
Copy link

addInfiniteScrollingWithActionHandler is not getting called second time and network indicator keeps on animating. What could be the problem?

@eridbardhaj
Copy link

+1, Same issue too, I can load more just one time. The other time, the indicator stuck animating, and no action is being called

@BillHu
Copy link

BillHu commented Mar 24, 2015

+1

1 similar comment
@divya-ai
Copy link

+1

@damln
Copy link

damln commented Apr 8, 2015

+1, using version 0.4.1 with CocoaPods

@VitalyTimofeev
Copy link

Be sure you called stopAnimating for infiniteScrollingView. From readme:

[tableView addInfiniteScrollingWithActionHandler:^{
    // append data to data source, insert new cells at the end of table view
    // call [tableView.infiniteScrollingView stopAnimating] when done
}];

@alanfeng99
Copy link

+1, it's not called, so the indicator would keep spinning.

@amna-malik
Copy link

I'm facing the same issue, the indicator keeps loading and action handle not fired second time.

@pjryan93
Copy link

You need to call [self.collectionView.infiniteScrollingView stopAnimating];

The problem is the state of InfitieScorllView is not being updated to stopped. It will not trigger the action handler unless the state is set to stopped. Calling stopAnimating after your action handler is completed resets the state.

@kihab
Copy link

kihab commented Jun 21, 2016

Calling [self.tableView.infiniteScrollingView stopAnimating];

Fixed the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants