Package 

Class ReactRawTextManager

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static String REACT_CLASS
    • Method Summary

      Modifier and Type Method Description
      String getName()
      ReactTextView createViewInstance(ThemedReactContext context) Subclasses should return a new View instance of the proper type.
      void updateExtraData(View view, Object extraData) Subclasses can implement this method to receive an optional extra data enqueued from thecorresponding instance of ReactShadowNode in .
      Class<ReactRawTextShadowNode> getShadowNodeClass() This method should return Class instance that represent type of shadow node that thismanager will return from createShadowNodeInstance.
      ReactRawTextShadowNode createShadowNodeInstance() This method should return a subclass of ReactShadowNode which will be then used formeasuring position and size of the view.
      • Methods inherited from class com.facebook.react.uimanager.ViewManager

        createShadowNodeInstance, createShadowNodeInstance, createView, getCommandsMap, getExportedCustomBubblingEventTypeConstants, getExportedCustomDirectEventTypeConstants, getExportedViewConstants, getNativeProps, getShadowNodeClass, measure, measure, onDropViewInstance, receiveCommand, receiveCommand, setPadding, updateExtraData, updateProperties, updateState
      • Methods inherited from class com.facebook.react.bridge.BaseJavaModule

        canOverrideExistingModule, getConstants, hasConstants, initialize, invalidate, onCatalystInstanceDestroy
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • updateExtraData

         void updateExtraData(View view, Object extraData)

        Subclasses can implement this method to receive an optional extra data enqueued from thecorresponding instance of ReactShadowNode in .

        Since css layout step and ui updates can be executed in separate thread apart of settingx/y/width/height this is the recommended and thread-safe way of passing extra data from cssnode to the native view counterpart.

        TODO T7247021: Replace updateExtraData with generic update props mechanism after D2086999