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

When numberOfPagesInPagingScrollView becomes Zero you still calling thePagingScrollView #4

Open
ahmad-atef-zz opened this issue Jun 19, 2014 · 0 comments

Comments

@ahmad-atef-zz
Copy link

I've used your control exactly like the tableview, I was calling the API, put the response in datasource array and reload MHPagingScrollView.

When you try the scenario to reload data when the datasource count was 4 (for example) then after updating the datasource and it was empty and reload MHPagingScrollView,
you still calling thePagingScrollView (cell for row in tableview) even the numberOfPagesInPagingScrollView becomes zero, which will cause the application to crash or to behave incorrectly.

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

1 participant