mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Revisit deprecated methods in UIManagerModule and update javadoc
Summary: Ez diff that revisits deprecated methods in UIManagerModule and update javadoc Motivation: I'm cleaning up my fabric backlog before lockdown changelog: [Android] Update documentation of UIManagerModule methods Reviewed By: JoshuaGross Differential Revision: D21487609 fbshipit-source-id: 896ae21e02d5b1aa57b7158d714986fd1f8c9c5c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d0c4c5eaf9
commit
0199a0392c
@@ -283,7 +283,8 @@ public class UIManagerModule extends ReactContextBaseJavaModule
|
||||
* Helper method to pre-compute the constants for a view manager. This method ensures that we
|
||||
* don't block for getting the constants for view managers during TTI
|
||||
*
|
||||
* @param viewManagerNames
|
||||
* @deprecated this method will not be available in FabricUIManager class.
|
||||
* @param viewManagerNames {@link List<String>} names of ViewManagers
|
||||
*/
|
||||
@Deprecated
|
||||
public void preComputeConstantsForViewManager(List<String> viewManagerNames) {
|
||||
@@ -568,7 +569,7 @@ public class UIManagerModule extends ReactContextBaseJavaModule
|
||||
* This resolves to a simple {@link #manageChildren} call, but React doesn't have enough info in
|
||||
* JS to formulate it itself.
|
||||
*
|
||||
* @deprecated This method will not be available in Fabric UIManager.
|
||||
* @deprecated This method will not be available in Fabric UIManager class.
|
||||
*/
|
||||
@ReactMethod
|
||||
@Deprecated
|
||||
@@ -578,10 +579,10 @@ public class UIManagerModule extends ReactContextBaseJavaModule
|
||||
|
||||
/**
|
||||
* Method which takes a container tag and then releases all subviews for that container upon
|
||||
* receipt. TODO: The method name is incorrect and will be renamed, #6033872
|
||||
* receipt.
|
||||
*
|
||||
* @param containerTag the tag of the container for which the subviews must be removed
|
||||
* @deprecated This method will not be available in Fabric UIManager.
|
||||
* @deprecated This method will not be available in Fabric UIManager class.
|
||||
*/
|
||||
@ReactMethod
|
||||
@Deprecated
|
||||
@@ -631,7 +632,7 @@ public class UIManagerModule extends ReactContextBaseJavaModule
|
||||
* window which can cause unexpected results when measuring relative to things like ScrollViews
|
||||
* that can have offset content on the screen.
|
||||
*
|
||||
* @deprecated This method will not be part of Fabric.
|
||||
* @deprecated this method will not be available in FabricUIManager class.
|
||||
*/
|
||||
@ReactMethod
|
||||
@Deprecated
|
||||
@@ -664,7 +665,7 @@ public class UIManagerModule extends ReactContextBaseJavaModule
|
||||
/**
|
||||
* Check if the first shadow node is the descendant of the second shadow node
|
||||
*
|
||||
* @deprecated This method will not be part of Fabric.
|
||||
* @deprecated this method will not be available in FabricUIManager class.
|
||||
*/
|
||||
@ReactMethod
|
||||
@Deprecated
|
||||
|
||||
Reference in New Issue
Block a user