mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-05 22:48:21 +00:00
Added extra test case to IGTestDelegateController
Summary: Added making a call to the supplementary view data source in IGTestDelegateController so that codepath gets the same test exposure as the regular cell mechanism. Reviewed By: candance Differential Revision: D45004843 fbshipit-source-id: 6d3140ebc59da5ba4b7a151f6f104cdbd63418c2
This commit is contained in:
parent
bec019925c
commit
b746af936d
1 changed files with 3 additions and 0 deletions
|
|
@ -85,6 +85,9 @@
|
|||
|
||||
- (void)listAdapter:(IGListAdapter *)listAdapter sectionControllerWillEnterWorkingRange:(IGListSectionController *)sectionController {
|
||||
__unused UICollectionViewCell *cell = [self.collectionContext cellForItemAtIndex:0 sectionController:self];
|
||||
__unused UIView *supplementaryView = [self.collectionContext viewForSupplementaryElementOfKind:UICollectionElementKindSectionHeader
|
||||
atIndex:0
|
||||
sectionController:self];
|
||||
}
|
||||
|
||||
- (void)listAdapter:(IGListAdapter *)listAdapter sectionControllerDidExitWorkingRange:(IGListSectionController *)sectionController {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue