Why in GC the references from Views are cleaned, while the references from nested inner class remain when the containning Activity is destroyed?

前端 未结 0 1352
遥遥无期
遥遥无期 2021-02-05 20:58

I have read lots of articles about memory leak. All of them tell me that if an Activity contains a (non-static) nested inner class or (non-static) anonymous inner class, then th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题