OnObjectRetainedListener.kt
TLDR
This file contains a single interface OnObjectRetainedListener
that is used by the ObjectWatcher
class to report retained objects.
Methods
onObjectRetained
This method is called when a watched object becomes retained. It does not take any arguments or return any value.
package leakcanary
/**
* Listener used by [ObjectWatcher] to report retained objects.
*/
fun interface OnObjectRetainedListener {
/**
* A watched object became retained.
*/
fun onObjectRetained()
}