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

Method setViewInflationEnabled

valdi/src/valdi/runtime/Context/ViewNodeTree.cpp:853–861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

851}
852
853void ViewNodeTree::setViewInflationEnabled(bool viewInflationEnabled) {
854 if (_viewInflationEnabled != viewInflationEnabled) {
855 _viewInflationEnabled = viewInflationEnabled;
856
857 if (_rootViewNode != nullptr) {
858 _rootViewNode->setViewTreeNeedsUpdate();
859 }
860 }
861}
862
863const Ref<ViewManagerContext>& ViewNodeTree::getViewManagerContext() const {
864 return _viewManagerContext;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected