public class CompositeReactPackage extends ReactInstancePackage
CompositeReactPackage allows to create a single package composed of views and modules
from several other packages.| Constructor and Description |
|---|
CompositeReactPackage(ReactPackage arg1,
ReactPackage arg2,
ReactPackage... args)
The order in which packages are passed matters.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<NativeModule> |
createNativeModules(ReactApplicationContext reactContext) |
java.util.List<NativeModule> |
createNativeModules(ReactApplicationContext reactContext,
ReactInstanceManager reactInstanceManager) |
java.util.List<ViewManager> |
createViewManagers(ReactApplicationContext reactContext) |
public CompositeReactPackage(ReactPackage arg1, ReactPackage arg2, ReactPackage... args)
public java.util.List<NativeModule> createNativeModules(ReactApplicationContext reactContext)
createNativeModules in interface ReactPackagecreateNativeModules in class ReactInstancePackagereactContext - react application context that can be used to create modulespublic java.util.List<NativeModule> createNativeModules(ReactApplicationContext reactContext, ReactInstanceManager reactInstanceManager)
createNativeModules in class ReactInstancePackagepublic java.util.List<ViewManager> createViewManagers(ReactApplicationContext reactContext)
UIManagerModule