Add partial image loading to RCTImageView

Reviewed By: javache

Differential Revision: D3856918

fbshipit-source-id: ca98f8604213e7e583a188ccc4c25ea9d7aa9aa2
This commit is contained in:
Mehdi Mulani
2016-09-21 12:11:19 -07:00
committed by Facebook Github Bot 0
parent 048449b678
commit 820b1c0e46
9 changed files with 55 additions and 14 deletions

View File

@@ -71,6 +71,7 @@ static NSBundle *bundleForPath(NSString *key)
scale:(CGFloat)scale
resizeMode:(RCTResizeMode)resizeMode
progressHandler:(RCTImageLoaderProgressBlock)progressHandler
partialLoadHandler:(RCTImageLoaderPartialLoadBlock)partialLoadHandler
completionHandler:(RCTImageLoaderCompletionBlock)completionHandler
{
__block volatile uint32_t cancelled = 0;