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

Ability to reload datasource without calling reloadData #14

Open
pokhachevskiy opened this issue Sep 14, 2021 · 1 comment
Open

Ability to reload datasource without calling reloadData #14

pokhachevskiy opened this issue Sep 14, 2021 · 1 comment

Comments

@pokhachevskiy
Copy link
Contributor

Hello!
Thanks for nice implementation of reusable collection on pure scrollview.
Now I'm using gridview for unlimited horizontal feed of cards.
The question is:
How can I update datasource without call reloadData?
For better UX I need to update datasource without reloading current visible cells.
If you have any suggestions how to do it, please answer here:)

@pokhachevskiy
Copy link
Contributor Author

pokhachevskiy commented Sep 14, 2021

I have tried to invalidate columnCache via settings columnRow = [:] and then call invalidateLayout(). It works.

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