Refactor FabricUIManagerModule -> FabricUIManager
Reviewed By: fkgozali Differential Revision: D7125829 fbshipit-source-id: 46f9722a20e0bbf7f99a0cc36067035b009d73d8
This commit is contained in:
parent
5d3efa7d6f
commit
0d148ad67a
|
@ -4,6 +4,6 @@ import com.facebook.react.bridge.JavaScriptContextHolder;
|
|||
|
||||
public interface FabricBinding {
|
||||
|
||||
void installFabric(JavaScriptContextHolder jsContext, FabricUIManagerModule fabricModule);
|
||||
void installFabric(JavaScriptContextHolder jsContext, FabricUIManager fabricModule);
|
||||
|
||||
}
|
||||
|
|
|
@ -36,15 +36,15 @@ import javax.annotation.Nullable;
|
|||
* Fabric API.
|
||||
*/
|
||||
@SuppressWarnings("unused") // used from JNI
|
||||
public class FabricUIManagerModule implements UIManager {
|
||||
public class FabricUIManager implements UIManager {
|
||||
|
||||
private static final String TAG = FabricUIManagerModule.class.toString();
|
||||
private static final String TAG = FabricUIManager.class.toString();
|
||||
private final RootShadowNodeRegistry mRootShadowNodeRegistry = new RootShadowNodeRegistry();
|
||||
private final ReactApplicationContext mReactApplicationContext;
|
||||
private final ViewManagerRegistry mViewManagerRegistry;
|
||||
private final UIViewOperationQueue mUIViewOperationQueue;
|
||||
|
||||
public FabricUIManagerModule(ReactApplicationContext reactContext,
|
||||
public FabricUIManager(ReactApplicationContext reactContext,
|
||||
ViewManagerRegistry viewManagerRegistry) {
|
||||
mReactApplicationContext = reactContext;
|
||||
mViewManagerRegistry = viewManagerRegistry;
|
|
@ -5,7 +5,7 @@ import com.facebook.react.uimanager.ReactShadowNode;
|
|||
|
||||
/**
|
||||
* Simple container class to keep track of {@link ReactShadowNode}s that represents the Root
|
||||
* Shadow Nodes of a {@link FabricUIManagerModule}
|
||||
* Shadow Nodes of a {@link FabricUIManager}
|
||||
*/
|
||||
public class RootShadowNodeRegistry {
|
||||
|
||||
|
|
Loading…
Reference in New Issue