Instagram / Instagram/IGListKit
Reload cell in HorizontalSectionController that is in inside ListStackedSectionController
- Dominant language
- Objective-C
- Stars
- 13.1k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
Can you explain how road cell inside HorizontalSectionController, when HorizontalSectionController is a part of ListStackedSectionController. So basically I can get to the ListStackedSectionController, but I can't understand how to get certain HorizontalSectionController.
```
func reload(section: Int, itemIndex: Int) {
let controller = (adapter.sectionController(forSection: section) as! ListStackedSectionController)
controller.accessibilityElement(at: 1)
let context = controller.collectionContext
context?.performBatch(animated: true, updates: { (batchContext) in
//Need to get inside ListStackedSectionCOntroller
})
}
```
How can I get controller which is inside ListStackedSectionController?
Contributor guide
Assessment
This issue has not been assessed yet.