public abstract class LazyReactPackage extends java.lang.Object implements ReactPackage
Constructor and Description |
---|
LazyReactPackage() |
Modifier and Type | Method and Description |
---|---|
java.util.List<NativeModule> |
createNativeModules(ReactApplicationContext reactContext) |
java.util.List<ViewManager> |
createViewManagers(ReactApplicationContext reactContext) |
abstract java.util.List<ModuleSpec> |
getNativeModules(ReactApplicationContext reactContext) |
abstract ReactModuleInfoProvider |
getReactModuleInfoProvider() |
static ReactModuleInfoProvider |
getReactModuleInfoProviderViaReflection(LazyReactPackage lazyReactPackage) |
java.util.List<ModuleSpec> |
getViewManagers(ReactApplicationContext reactContext) |
public static ReactModuleInfoProvider getReactModuleInfoProviderViaReflection(LazyReactPackage lazyReactPackage)
public abstract java.util.List<ModuleSpec> getNativeModules(ReactApplicationContext reactContext)
reactContext
- react application context that can be used to create modulespublic final java.util.List<NativeModule> createNativeModules(ReactApplicationContext reactContext)
createNativeModules
in interface ReactPackage
reactContext
- react application context that can be used to create modulespublic java.util.List<ModuleSpec> getViewManagers(ReactApplicationContext reactContext)
reactContext
- react application context that can be used to create View Managers.public java.util.List<ViewManager> createViewManagers(ReactApplicationContext reactContext)
createViewManagers
in interface ReactPackage
UIManagerModule
public abstract ReactModuleInfoProvider getReactModuleInfoProvider()