Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
极客时间账号Andrew
心得:一开始Android Studio无法识别工程,新建java library后仔细对比,发现Main.java路径不同,修改之后编译成功了。参考HAHA的github描述,获取instance的next节点,发现总是空的。最后参考了其他作业,发现居然是少了一行snapshot的计算,snapshot.computeDominators。粗略看了一下leak canry的源码,理解了它的实现原理,目前这个扫描重复图片确实只是个作业,离实用还有一定距离,比如弱引用图片的考虑等等。