首页 极刻 圈子 教程 开源
极客社区
写文章 发极刻 建圈子 发项目
标签 refwatcher 相关标签 activity leakcanary application context excludedrefs

一步步拆解 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

推荐极客

Blaze Blaze fundebug fundebug 88916570 88916570 80407013 80407013 84214254 84214254 86593278 86593278 81701295 81701295 ELEMENTS爱乐冬雨 ELEMENTS爱乐冬雨

优质内容社区

首页 文章 极刻 开源 标签 关于我们

© 安科网. All rights reserved.