mirror of
https://github.com/tappollo/IGListKit.git
synced 2026-06-17 11:01:13 +08:00
Add stacked section controller demo
Summary: Adding a pretty basic stacked demo. 3 different sections, each with 3 child section controllers that handle an `Int` data. Requires #354 to be fully functional (working range). Closes #134 - [x] All tests pass. Demo project builds and runs. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md) Closes https://github.com/Instagram/IGListKit/pull/355 Differential Revision: D4363859 Pulled By: jessesquires fbshipit-source-id: 5dbc8e18388fed4930f189e3477ff57f0edf2d13
This commit is contained in:
committed by
Facebook Github Bot
parent
2957ee5feb
commit
1b70435993
@@ -43,7 +43,7 @@ final class ExpandableSectionController: IGListSectionController, IGListSectionT
|
||||
|
||||
func didSelectItem(at index: Int) {
|
||||
expanded = !expanded
|
||||
collectionContext?.reload(self)
|
||||
collectionContext?.reload(in: self, at: IndexSet(integer: 0))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user