1. 问题:LeakCanary received Fragment#onDestroy() callback and Fragment#mFragmentManager is null
原因:supportFragmentManager.beginTransaction().replace()
解决方案:add() hide() show()
1. 问题:LeakCanary received Fragment#onDestroy() callback and Fragment#mFragmentManager is null
原因:supportFragmentManager.beginTransaction().replace()
解决方案:add() hide() show()
本文标题:Android 内存泄漏问题记录
本文链接:https://www.haomeiwen.com/subject/yybxyltx.html
网友评论