react-native/Libraries/Image
Justin Spahr-Summers a4ef7abebb Wait to clear RCTImageView.image until definitively removed from window
Summary: When `RCTImageView` is removed from the view hierarchy, it clears out its `image` to save memory. This makes sense, except that it gets removed from the window (view hierarchy) even when becoming the child of another view.

This fixes the logic so that it only clears out the image if the view hasn't been moved somewhere else within one frame.

@​public

Reviewed By: @javache

Differential Revision: D2493849
2015-09-30 09:40:30 -07:00
..
RCTImage.xcodeproj Moved CameraRoll-related classes into CameraRoll folder instead of Image 2015-09-08 09:48:19 -08:00
__tests__ Managed assets support for RCTConvert 2015-09-29 09:21:39 -07:00
AssetRegistry.js [ReactNative] Teach flow how to deal with images 2015-08-26 18:26:09 -08:00
GlobalImageStub.js [ReactNative] Teach flow how to deal with images 2015-08-26 18:26:09 -08:00
Image.android.js Release React Native for Android 2015-09-14 18:13:39 +01:00
Image.ios.js Support tintColor for managed image assets 2015-09-23 19:29:30 -07:00
ImageResizeMode.js [react_native] JS files from D2009265: Fix resizeMode for images 2015-04-21 12:04:32 -08:00
ImageSource.js [ReactNative][MAdMan] Add type for image source, flowify AdsManagerObjectiveTypes 2015-04-06 10:32:42 -08:00
ImageStylePropTypes.js [ReactNative] Add overflow to the whitelisted Image props 2015-07-27 11:06:27 -08:00
RCTAssetBundleImageLoader.h Add pluggable image processing system 2015-09-02 08:31:34 -08:00
RCTAssetBundleImageLoader.m Use bundleForClass instead of mainBundle to find resources 2015-09-29 10:36:23 -07:00
RCTGIFImageDecoder.h Add pluggable image processing system 2015-09-02 08:31:34 -08:00
RCTGIFImageDecoder.m Changed RCTImageLoader to always return a UIImage 2015-09-04 05:10:34 -08:00
RCTImageDownloader.h Add pluggable image processing system 2015-09-02 08:31:34 -08:00
RCTImageDownloader.m Use bundleForClass instead of mainBundle to find resources 2015-09-29 10:36:23 -07:00
RCTImageEditingManager.h [React Native] open source ImageEditingManager native module 2015-07-29 15:57:48 -08:00
RCTImageEditingManager.m [React Native] open source ImageEditingManager native module 2015-07-29 15:57:48 -08:00
RCTImageLoader.h Changed RCTImageLoader to always return a UIImage 2015-09-04 05:10:34 -08:00
RCTImageLoader.m Changed RCTImageLoader to always return a UIImage 2015-09-04 05:10:34 -08:00
RCTImageStoreManager.h Update image loader plugins 2015-09-03 06:06:19 -08:00
RCTImageStoreManager.m Update image loader plugins 2015-09-03 06:06:19 -08:00
RCTImageUtils.h Fixed image clipping / resizing logic 2015-08-13 08:13:55 -08:00
RCTImageUtils.m Fixed image clipping / resizing logic 2015-08-13 08:13:55 -08:00
RCTImageView.h Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00
RCTImageView.m Wait to clear RCTImageView.image until definitively removed from window 2015-09-30 09:40:30 -07:00
RCTImageViewManager.h Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00
RCTImageViewManager.m Added mechanism for directly mapping JS event handlers to blocks 2015-09-02 06:11:24 -08:00
RelativeImageStub.js [ReactNative] Teach flow how to deal with images 2015-08-26 18:26:09 -08:00
resolveAssetSource.js Managed assets support for RCTConvert 2015-09-29 09:21:39 -07:00