Skip to content
🤔 Documentation issue? Report it

//leakcanary/leakcanary/ActivityWatcher

ActivityWatcher

class ActivityWatcher(application: Application, reachabilityWatcher: ReachabilityWatcher) : InstallableWatcher

Expects activities to become weakly reachable soon after they receive the Activity.onDestroy callback.

Constructors

ActivityWatcher fun ActivityWatcher(application: Application, reachabilityWatcher: ReachabilityWatcher)

Functions

Name Summary
install open override fun install()
uninstall open override fun uninstall()