mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove class-loading experiment for View Managers.
Reviewed By: fkgozali Differential Revision: D7418876 fbshipit-source-id: 52f8dce29a509233b9545a564c4f0d390fa81f13
This commit is contained in:
committed by
Facebook Github Bot
parent
88ba7ebcc7
commit
7cbb222cd5
@@ -16,17 +16,12 @@ public interface ViewManagerOnDemandReactPackage {
|
||||
/**
|
||||
* Provides a list of names of ViewManagers with which these modules can be accessed from JS.
|
||||
* Typically, this is ViewManager.getName().
|
||||
*
|
||||
* @param loadClasses defines if View Managers classes should be loaded or be avoided.
|
||||
*/
|
||||
@Nullable List<String> getViewManagerNames(ReactApplicationContext reactContext, boolean loadClasses);
|
||||
@Nullable List<String> getViewManagerNames(ReactApplicationContext reactContext);
|
||||
/**
|
||||
* Creates and returns a ViewManager with a specific name {@param viewManagerName}. It's up to an
|
||||
* implementing package how to interpret the name.
|
||||
*
|
||||
* @param loadClasses defines if View Managers classes should be loaded or be avoided.
|
||||
*/
|
||||
@Nullable
|
||||
ViewManager createViewManager(
|
||||
ReactApplicationContext reactContext, String viewManagerName, boolean loadClasses);
|
||||
ViewManager createViewManager(ReactApplicationContext reactContext, String viewManagerName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user