mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: The `.addUIBlock` and `.prependUIBlock` APIs on UiManagerModule are missing on Fabric. Here I'm re-implementing them to make migration to Fabric easier. Set of changes: - Moved `NativeViewHierarchyManager` to `NativeViewHierarchyManagerImpl` and extracted an interface - Moved `addUIBlock` and `prependUIBlock` to the shared `UIManager` interface - Added a `InteropUIBlockListener` class that takes care of executing the UI Blocks, implemented as a `UIManagerListener` Changelog: [Android] [Changed] - Changed the API of addUIBlock and prependUIBlock to implement it also in Fabric. Reviewed By: mdvacca Differential Revision: D53612514 fbshipit-source-id: 1cddbc391477318064f15c733a380983c3737373