UIManager
Functions
Registers a new root view. @Deprecated call startSurface instead
Register a UIManagerListener with this UIManager to receive lifecycle callbacks.
Dispatches the commandId received by parameter to the view associated with the reactTag. The command will be processed in the UIThread.
This method is called after ReactApplicationContext has been created.
Called before React Native instance is destroyed.
Mark a view as currently active for a touch event. This information could be used by the UIManager to decide if a view could be safely destroyed or not.
This method dispatches events from RN Android code to JS. The delivery of this event will not be queued in EventDispatcher class.
Unregister a UIManagerListener from this UIManager to stop receiving lifecycle callbacks.
Resolves Direct Event name exposed to JS from the one known to the Native side.
Resolves a view based on its reactTag. Do not mutate properties on this view that are already managed by React, as there are no guarantees this changes will be preserved.
Dispatch an accessibility event to a view asynchronously.
Registers a new root view with width and height.
Stop a surface from running in JS and clears up native memory usage. Assumes that the native View hierarchy has already been cleaned up. Fabric-only.
Sweep a view as currently not active for a touch event. This tells the UIManager that the view is not being interacted by the user and can safely be destroyed.
Used by native animated module to bypass the process of updating the values through the shadow view hierarchy. This method will directly update native views, which means that updates for layout-related propertied won't be handled properly. Make sure you know what you're doing before calling this method :)