iOS UICollectionViewDiffableDataSource reloads all data with no changes
Asked Answered
F

0

6

I have a simple UICollectionView with 1 section and 1 item type powered by new iOS 13 UICollectionViewDiffableDataSource.

Even with no changes to data source (identical hashValues), UICollectionViewDiffableDataSource updates whole collection view (calls cellProvier for every visible cell).

The thing is, the same scenario with UITableViewDiffableDataSource works as expected, that is with no changes to data source UITableViewDiffableDataSource does nothing.

Is this difference by design, or is this some kind of Bug?

Fogarty answered 5/5, 2020 at 17:36 Comment(1)
I'm seeing this issue too :(Southernly

© 2022 - 2024 — McMap. All rights reserved.