how to reload cells in Embedded collection view using ListCollectionViewLayout
is there any way to reload cells or whole section using EmbeddedCollectionViewCell using ListCollectionViewLayout . this peice of code isnt reloading cells or sections...?
let controller = adapter.sectionController(forSection: 0) as! ListSectionController
controller.collectionContext?.performBatch(animated: false, updates: { (batchContext) in
batchContext.reload(controller)
})
Info : 'IGListKit','~> 3.4.0' Xcode : 9.4.1, iOS 11
Well need a lot more info to help out here. Reloading only happens when the cells data changes (isEqualToDiffableObject: returns NO). Is your data changing?
A sample project would go a long way to us helping.
Sent with GitHawk
@rnystrom I'm creating brand new structs for the child controllers, and just like the person who opened this issue, my nested controllers are not updating the cells properly, the only way it's working is if I perform a batch update