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

Method isRecyclable

valdi/src/valdi/android/AndroidViewHolder.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39bool AndroidViewHolder::isRecyclable() {
40 if (!_isRecyclable) {
41 _isRecyclable = {JavaCache::get().getViewRefIsRecyclableMethod().call(toObject())};
42 }
43 return _isRecyclable.value();
44}
45
46snap::valdi_core::Platform AndroidViewHolder::getPlatform() const {
47 return snap::valdi_core::Platform::Android;

Callers 1

willEnqueueViewToPoolMethod · 0.45

Calls 4

toObjectFunction · 0.85
callMethod · 0.65
valueMethod · 0.65
getFunction · 0.50

Tested by

no test coverage detected