Skip to content

🐛 Fix issue when call invalidateLayout()#1

Merged
WestFR merged 1 commit intomasterfrom
WestFR-LayoutAttributes-Patch
Nov 10, 2020
Merged

🐛 Fix issue when call invalidateLayout()#1
WestFR merged 1 commit intomasterfrom
WestFR-LayoutAttributes-Patch

Conversation

@WestFR
Copy link
Owner

@WestFR WestFR commented Nov 10, 2020

Fixed an error that could appear when updating the list when cells are added or removed.

This error is :

[CollectionView] Layout attributes <CollectionViewSlantedLayout.CollectionViewSlantedLayoutAttributes: 0x7ff1035113c0> index path: (<NSIndexPath: 0xbcd26c36f94746f0> {length = 2, path = 0 - 3}); frame = (0 603; 414 275); zIndex = 3;  were received from the layout <CollectionViewSlantedLayout.CollectionViewSlantedLayout: 0x7ff1035148a0> but are not valid for the data source counts. Attributes will be ignored.

Fixed an error that could appear when updating the list when cells are added or removed.

This error is : 
```
[CollectionView] Layout attributes <CollectionViewSlantedLayout.CollectionViewSlantedLayoutAttributes: 0x7ff1035113c0> index path: (<NSIndexPath: 0xbcd26c36f94746f0> {length = 2, path = 0 - 3}); frame = (0 603; 414 275); zIndex = 3;  were received from the layout <CollectionViewSlantedLayout.CollectionViewSlantedLayout: 0x7ff1035148a0> but are not valid for the data source counts. Attributes will be ignored.
```
@WestFR WestFR merged commit caed6d0 into master Nov 10, 2020
@WestFR WestFR deleted the WestFR-LayoutAttributes-Patch branch November 10, 2020 10: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