MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getViewChildrenCount

Method getViewChildrenCount

valdi/src/valdi/runtime/Context/ViewNode.cpp:347–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345 setViewTreeNeedsUpdate();
346 }
347 } else if (isLayout()) {
348 // For a layout, this means that one of our child is inside our parent view.
349 for (auto i = getChildCount(); i > 0; i--) {
350 getChildAt(i - 1)->removeViewFromParent(
351 viewTransactionScope, willUpdateViewTree, shouldViewClearViewNode);
352 }

Callers 1

Calls

no outgoing calls

Tested by 1