Instagram / Instagram/IGListKit

how to reload cells in Embedded collection view using ListCollectionViewLayout

Open
#1,238 2 comments 3 reactions 0 assignees View on GitHub
missing-info question
Dominant language
Objective-C
Stars
13.1k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

is there any way to reload cells or whole section using `EmbeddedCollectionViewCell` using `ListCollectionViewLayout` . this peice of code isnt reloading cells or sections...?

```swift
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.