Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ getViewAndDisablePooling
Method
getViewAndDisablePooling
valdi/src/valdi/runtime/Context/ViewNode.cpp:199–205 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
197
198
const Ref<View>& ViewNode::getView() const {
199
return _view;
200
}
201
202
Ref<View> ViewNode::getViewAndDisablePooling() const {
203
if (_view != nullptr) {
204
_view->setCanBeReused(false);
205
}
206
207
return _view;
208
}
Callers
4
getViewForId
Function · 0.80
getViewNodeBackingView
Method · 0.80
getViewForNodePath
Method · 0.80
getRootView
Method · 0.80
Calls
1
setCanBeReused
Method · 0.80
Tested by
1
getViewForId
Function · 0.64