-
public interface ViewManagerOnDemandReactPackage
-
-
Method Summary
Modifier and Type Method Description abstract List<String>
getViewManagerNames(ReactApplicationContext reactContext)
Provides a list of names of ViewManagers with which these modules can be accessed from JS.Typically, this is ViewManager.getName(). abstract ViewManager
createViewManager(ReactApplicationContext reactContext, String viewManagerName)
Creates and returns a ViewManager with a specific name {@param viewManagerName}. -
-
Method Detail
-
getViewManagerNames
@Nullable() abstract List<String> getViewManagerNames(ReactApplicationContext reactContext)
Provides a list of names of ViewManagers with which these modules can be accessed from JS.Typically, this is ViewManager.getName().
-
createViewManager
@Nullable() abstract ViewManager createViewManager(ReactApplicationContext reactContext, String viewManagerName)
Creates and returns a ViewManager with a specific name {@param viewManagerName}. It's up to animplementing package how to interpret the name.
-
-
-
-