New issue checklist
General information
I'm trying to implement an embedded collection view in a section controller similar to the nested data example in the demo project. I'm noticing two issues so far in regards to reusing IGListSectionControllers. When you scroll horizontally through one of them and scroll down, the next section that reuses the embedded section continues to scroll as well. Secondly, if I set different heights while using the same IGListSectionController,
case .video:
return EmbeddedAdapterSectionController(height: 180, dataSource: VideoListDataSource())
case .user:
return EmbeddedAdapterSectionController(height: 130, dataSource: UserListDataSource())
it will sometimes use the wrong section controller as it tries to reuse them. Is there anyway to ensure that a section uses the correct IGListSectionController instance or best practices in using embedded collection views and adapters?
Are there any best practices for storing contentOffset for the embedded collection views?
Edit: I assume this has to do with IGListSectionMap's implementation
New issue checklist
READMEand documentationGeneral information
IGListKitversion: 2.1.0I'm trying to implement an embedded collection view in a section controller similar to the nested data example in the demo project. I'm noticing two issues so far in regards to reusing
IGListSectionControllers. When you scroll horizontally through one of them and scroll down, the next section that reuses the embedded section continues to scroll as well. Secondly, if I set different heights while using the sameIGListSectionController,it will sometimes use the wrong section controller as it tries to reuse them. Is there anyway to ensure that a section uses the correct
IGListSectionControllerinstance or best practices in using embedded collection views and adapters?Are there any best practices for storing contentOffset for the embedded collection views?
Edit: I assume this has to do with
IGListSectionMap's implementation