[WIP] Trigger new batch fetch for collection view after layout transitions (#1697)

[Table / Collection] Trigger new batch fetch after programmatic scrolls, or layout transitions.
This commit is contained in:
Nick Velloff
2016-06-22 16:21:10 -07:00
committed by appleguy
parent eb9e8167c3
commit a05d3119ad
4 changed files with 19 additions and 0 deletions

View File

@@ -968,6 +968,11 @@ static NSString * const kCellReuseIdentifier = @"_ASTableViewCell";
}
}
- (void)didCompleteUpdatesInRangeController:(ASRangeController *)rangeController
{
[self _checkForBatchFetching];
}
- (void)rangeController:(ASRangeController *)rangeController didInsertNodes:(NSArray *)nodes atIndexPaths:(NSArray *)indexPaths withAnimationOptions:(ASDataControllerAnimationOptions)animationOptions
{
ASDisplayNodeAssertMainThread();