LeakCanary

dependencies {

implementation 'com.squareup.leakcanary:leakcanary-android:1.5'

}
if(LeakCanary.isInAnalyzerProcess(this)){
return ;
}

LeakCanary.install(this);
打赏