/** * Handles an updateView call. If a view transitions from being layout-only to not (or vice-versa) * this could result in some number of additional createView and manageChildren calls. If the view * is layout only, no updateView call will be dispatched to the native hierarchy. */ public void handleUpdateView( ReactShadowNode node, String className, CatalystStylesDiffMap props) { if (!ENABLED) { mUIViewOperationQueue.enqueueUpdateProperties(node.getReactTag(), className, props); return; } boolean needsToLeaveLayoutOnly = node.isLayoutOnly() && !isLayoutOnlyAndCollapsable(props); if (needsToLeaveLayoutOnly) { transitionLayoutOnlyViewToNativeView(node, props); } else if (!node.isLayoutOnly()) { mUIViewOperationQueue.enqueueUpdateProperties(node.getReactTag(), className, props); } }