public class CompositeLazyReactPackage extends LazyReactPackage
Constructor and Description |
---|
CompositeLazyReactPackage(LazyReactPackage... args)
The order in which packages are passed matters.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Class<? extends JavaScriptModule>> |
createJSModules() |
java.util.List<ViewManager> |
createViewManagers(ReactApplicationContext reactContext) |
java.util.List<ModuleSpec> |
getNativeModules(ReactApplicationContext reactContext) |
createNativeModules
public CompositeLazyReactPackage(LazyReactPackage... args)
public java.util.List<ModuleSpec> getNativeModules(ReactApplicationContext reactContext)
getNativeModules
in class LazyReactPackage
reactContext
- react application context that can be used to create modulespublic java.util.List<java.lang.Class<? extends JavaScriptModule>> createJSModules()
public java.util.List<ViewManager> createViewManagers(ReactApplicationContext reactContext)
UIManagerModule