4/6 Log view-appear and view-disappear for Fabric image logging

Reviewed By: fkgozali

Differential Revision: D23447863

fbshipit-source-id: db16d97034a8d4ba6fcd08da5068039450f3c57b
This commit is contained in:
Paige Sun 2020-09-11 15:02:53 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 13759f192d
Коммит 24ba03ccae
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -5,6 +5,7 @@
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
#import <React/RCTImageResponseDelegate.h>
#import <React/RCTViewComponentView.h> #import <React/RCTViewComponentView.h>
NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_BEGIN
@ -12,7 +13,7 @@ NS_ASSUME_NONNULL_BEGIN
/** /**
* UIView class for root <Image> component. * UIView class for root <Image> component.
*/ */
@interface RCTImageComponentView : RCTViewComponentView { @interface RCTImageComponentView : RCTViewComponentView <RCTImageResponseDelegate> {
@protected @protected
UIImageView *_imageView; UIImageView *_imageView;
} }

Просмотреть файл

@ -9,7 +9,6 @@
#import <React/RCTConversions.h> #import <React/RCTConversions.h>
#import <React/RCTImageBlurUtils.h> #import <React/RCTImageBlurUtils.h>
#import <React/RCTImageResponseDelegate.h>
#import <React/RCTImageResponseObserverProxy.h> #import <React/RCTImageResponseObserverProxy.h>
#import <react/renderer/components/image/ImageComponentDescriptor.h> #import <react/renderer/components/image/ImageComponentDescriptor.h>
#import <react/renderer/components/image/ImageEventEmitter.h> #import <react/renderer/components/image/ImageEventEmitter.h>
@ -21,7 +20,7 @@
using namespace facebook::react; using namespace facebook::react;
@interface RCTImageComponentView () <RCTImageResponseDelegate> @interface RCTImageComponentView ()
@end @end
@implementation RCTImageComponentView { @implementation RCTImageComponentView {