mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Use Map as recyclable views container (#53394)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53394 # Changelog: [Internal] - This just fixes a linter warning I noticed when working on related code. Reviewed By: cortinico Differential Revision: D80702545 fbshipit-source-id: fecfed9e9946b971864706306b03b57cd3111aee
This commit is contained in:
committed by
Facebook GitHub Bot
parent
646945c2f2
commit
d0744f7e59
+1
-1
@@ -54,7 +54,7 @@ public abstract class ViewManager<T extends View, C extends ReactShadowNode>
|
||||
* null signals that View Recycling is disabled. `enableViewRecycling` must be explicitly called
|
||||
* in a concrete constructor to enable View Recycling per ViewManager.
|
||||
*/
|
||||
@Nullable private HashMap<Integer, Stack<T>> mRecyclableViews = null;
|
||||
@Nullable private Map<Integer, Stack<T>> mRecyclableViews = null;
|
||||
|
||||
public ViewManager() {
|
||||
super(null);
|
||||
|
||||
Reference in New Issue
Block a user