一步步拆解 LeakCanary ???} return refWatcher;>private final RefWatcher refWatcher;this.refWatcher = checkNotNull(refWatcher, "refWatcher"); AndroidWant 2018-07-07 10:31:52
带你学开源项目:LeakCanary-如何检测 Activity 是否泄漏 函数。继续看。RefWatcher 如何监控 activity 是否被正常回收呢?现在再看上面 onActivityDestroyed(Activity activity) 里调用的 refWatcher.watch(activity);; maochongsandai0 2017-05-23 19:28:31