mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-08 09:12:05 +08:00
Add UIImplementationProvider and allow overriding it in AbstractReactActivity
Summary: public UIImplementationProvider allows plugging in an alternative UIImplementation. A follow up diff adds a toggle under FB Dev Settings and uses this class to control an implementation. This allows us experimenting with other ways of generating UI hierarchy from JavaScript components. Reviewed By: astreet Differential Revision: D2554774 fb-gh-sync-id: 6574a893020e3519bd2ab00b9620a6dbdfaed595
This commit is contained in:
committed by
facebook-github-bot-7
parent
e8e7a2db57
commit
3dca8cf9fd
@@ -78,15 +78,6 @@ public class UIManagerModule extends ReactContextBaseJavaModule implements
|
||||
private int mNextRootViewTag = 1;
|
||||
private int mBatchId = 0;
|
||||
|
||||
/**
|
||||
* This contructor is temporarily here to workaround Sandcastle error.
|
||||
*/
|
||||
public UIManagerModule(
|
||||
ReactApplicationContext reactContext,
|
||||
List<ViewManager> viewManagerList) {
|
||||
this(reactContext, viewManagerList, new UIImplementation(reactContext, viewManagerList));
|
||||
}
|
||||
|
||||
public UIManagerModule(
|
||||
ReactApplicationContext reactContext,
|
||||
List<ViewManager> viewManagerList,
|
||||
|
||||
Reference in New Issue
Block a user