Merge pull request #1605 from lappp9/override-callback-for-display-range

[ASDisplayNode] Added callbacks for entering and exiting fetch data and display ranges
This commit is contained in:
appleguy
2016-06-11 22:21:20 -07:00
committed by GitHub
13 changed files with 140 additions and 25 deletions

View File

@@ -278,11 +278,11 @@ static const CGSize kMinReleaseImageOnBackgroundSize = {20.0, 20.0};
}
}
/* visibilityDidChange in ASMultiplexImageNode has a very similar implementation. Changes here are likely necessary
/* visibileStateDidChange in ASMultiplexImageNode has a very similar implementation. Changes here are likely necessary
in ASMultiplexImageNode as well. */
- (void)visibilityDidChange:(BOOL)isVisible
- (void)visibleStateDidChange:(BOOL)isVisible
{
[super visibilityDidChange:isVisible];
[super visibleStateDidChange:isVisible];
if (_downloaderImplementsSetPriority) {
_lock.lock();