public final class RCTImageViewManager extends ViewGroupManager<com.facebook.react.flat.FlatViewGroup>
NativeModule.NativeMethodPROP_NATIVE_ID, PROP_TEST_IDMETHOD_TYPE_ASYNC, METHOD_TYPE_PROMISE, METHOD_TYPE_SYNC| Constructor and Description |
|---|
RCTImageViewManager() |
RCTImageViewManager(AbstractDraweeControllerBuilder draweeControllerBuilder,
GlobalImageLoadListener globalImageLoadListener,
java.lang.Object callerContext) |
RCTImageViewManager(AbstractDraweeControllerBuilder draweeControllerBuilder,
java.lang.Object callerContext) |
| Modifier and Type | Method and Description |
|---|---|
com.facebook.react.flat.RCTImageView |
createShadowNodeInstance()
This method should return a subclass of
ReactShadowNode which will be then used for
measuring position and size of the view. |
protected com.facebook.react.flat.FlatViewGroup |
createViewInstance(ThemedReactContext reactContext)
Subclasses should return a new View instance of the proper type.
|
java.lang.Object |
getCallerContext() |
AbstractDraweeControllerBuilder |
getDraweeControllerBuilder() |
java.lang.String |
getName() |
java.lang.Class<com.facebook.react.flat.RCTImageView> |
getShadowNodeClass()
This method should return
Class instance that represent type of shadow node that this
manager will return from ViewManager.createShadowNodeInstance(). |
void |
removeAllViews(com.facebook.react.flat.FlatViewGroup parent) |
void |
setBackgroundColor(com.facebook.react.flat.FlatViewGroup view,
int backgroundColor) |
addView, addViews, getChildAt, getChildCount, getViewZIndex, needsCustomLayoutForChildren, removeView, removeViewAt, setViewZIndex, shouldPromoteGrandchildren, updateExtraDatasetAccessibilityComponentType, setAccessibilityLabel, setAccessibilityLiveRegion, setElevation, setImportantForAccessibility, setNativeId, setOpacity, setRenderToHardwareTexture, setRotation, setScaleX, setScaleY, setTestId, setTransform, setTranslateX, setTranslateY, setZIndexaddEventEmitters, createShadowNodeInstance, createView, getCommandsMap, getExportedCustomBubblingEventTypeConstants, getExportedCustomDirectEventTypeConstants, getExportedViewConstants, getNativeProps, onAfterUpdateTransaction, onDropViewInstance, receiveCommand, updatePropertiescanOverrideExistingModule, getConstants, hasConstants, initialize, onCatalystInstanceDestroypublic RCTImageViewManager()
public RCTImageViewManager(AbstractDraweeControllerBuilder draweeControllerBuilder,
java.lang.Object callerContext)
public RCTImageViewManager(AbstractDraweeControllerBuilder draweeControllerBuilder,
@Nullable
GlobalImageLoadListener globalImageLoadListener,
java.lang.Object callerContext)
public java.lang.String getName()
getName in interface NativeModulegetName in class ViewManager<com.facebook.react.flat.FlatViewGroup,LayoutShadowNode>public com.facebook.react.flat.RCTImageView createShadowNodeInstance()
ViewManagerReactShadowNode which will be then used for
measuring position and size of the view. In most of the cases this should just return an
instance of ReactShadowNodecreateShadowNodeInstance in class ViewGroupManager<com.facebook.react.flat.FlatViewGroup>public java.lang.Class<com.facebook.react.flat.RCTImageView> getShadowNodeClass()
ViewManagerClass instance that represent type of shadow node that this
manager will return from ViewManager.createShadowNodeInstance().
This method will be used in the bridge initialization phase to collect properties exposed using
ReactProp (or ReactPropGroup) annotation from the ReactShadowNode
subclass specific for native view this manager provides.getShadowNodeClass in class ViewGroupManager<com.facebook.react.flat.FlatViewGroup>Class object that represents type of shadow node used by this view manager.public AbstractDraweeControllerBuilder getDraweeControllerBuilder()
public java.lang.Object getCallerContext()
protected com.facebook.react.flat.FlatViewGroup createViewInstance(ThemedReactContext reactContext)
ViewManagercreateViewInstance in class ViewManager<com.facebook.react.flat.FlatViewGroup,LayoutShadowNode>public void setBackgroundColor(com.facebook.react.flat.FlatViewGroup view,
int backgroundColor)
setBackgroundColor in class BaseViewManager<com.facebook.react.flat.FlatViewGroup,LayoutShadowNode>public void removeAllViews(com.facebook.react.flat.FlatViewGroup parent)
removeAllViews in class ViewGroupManager<com.facebook.react.flat.FlatViewGroup>