A simple example of how to use LeakCanary2 on a basic Android project
full documentation: https://square.github.io/leakcanary/
// all you have to do now is add to the debug dependencies
dependencies {
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.5'
}