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

Fix issues with reloading data #157

Merged
merged 3 commits into from
Mar 26, 2018
Merged

Fix issues with reloading data #157

merged 3 commits into from
Mar 26, 2018

Conversation

rechsteiner
Copy link
Owner

The current implementation of reloadData was causing unexpected
results and would sometimes crash the application. This happened
because we were relying on the existing select method to reload
data. Instead we create a separate method that makes sure to reload
both the collection view and page view controller to the new state.

This also fixes an issue where you could swipe in the page view
controller after reloading data with no items (a5759ba)

The current implementation of reloadData was causing unexpected
results and would sometimes crash the application. This happened
because we were relying on the existing select method to reload
data. Instead we create a separate method that makes sure to reload
both the collection view and page view controller to the new state.
@rechsteiner rechsteiner merged commit cf51304 into master Mar 26, 2018
@rechsteiner rechsteiner deleted the fix-reload-data branch March 26, 2018 17:47
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

Successfully merging this pull request may close these issues.

1 participant