-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Layout attributes were received from the layout but are not valid for the data source counts. Attributes will be ignored. #47
Comments
🐛 Fix issue when call invalidateLayout()
Thanks for your contribution! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you would like this issue to remain open:
Issues that are labeled as crash will not be automatically marked as stale. |
@yacir If you want up this issue :) |
Hi @yacir , thanks for sharing the great feature and its implementation! I also experienced the similar issue that the layout is all messed up when try to reload. I found the issue is due to non-clean-invalidation before recalculation. Amend to what @WestFR suggested, the following would be the solution. Thanks!
|
@WestFR @DreaMorrin Hello guys ! sorry i was busy with other projects. I'll fix it soom |
Hello,
First of all, apologize for my level of English language.
I have setup a view collection with a search bar and filters. The layout being made with your package.
When i perform a reload on this with this method :
self.collectionView.collectionViewLayout.invalidateLayout()
.I obtain this error on the debugger :
After research i solved it by adding this method to your class
CollectionViewSlantedLayout.swift
The method to add is :
I can put this code and make a pull request if you want and if you are ok.
The text was updated successfully, but these errors were encountered: