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

Method retain

valdi/src/java/com/snap/valdi/utils/ValdiImage.kt:75–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 protected abstract fun onDestroyBitmap()
74
75 override fun retain() {
76 retainCount.incrementAndGet()
77 }
78
79 override fun release() {
80 val newValue = retainCount.decrementAndGet()

Callers 4

storeInCacheMethod · 0.45
makeConsumerImageMethod · 0.45
postprocessMethod · 0.45
onImageLoadCompleteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected