mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove unused method
Summary: Remove unused method changelog: [internal] intenral Reviewed By: makovkastar Differential Revision: D41386919 fbshipit-source-id: d0ce952ea5f52effb7791d3b97605ce9c4c65957
This commit is contained in:
1 parent
2f06b26634
commit
45a9b9f992
1 file changed
-10
@@ -109,14 +109,4 @@ public abstract class ViewGroupManager<T extends ViewGroup>
|
||||
public boolean needsCustomLayoutForChildren() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether or not this View type should promote its grandchildren as Views. This is an
|
||||
* optimization for Scrollable containers when using Nodes, where instead of having one ViewGroup
|
||||
* containing a large number of draw commands (and thus being more expensive in the case of an
|
||||
* invalidate or re-draw), we split them up into several draw commands.
|
||||
*/
|
||||
public boolean shouldPromoteGrandchildren() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user