使用handler的过程,可能带来的内存泄露转发:http://my.eoe.cn/yaming/archive/5133.html?解决方式:声明 ha
使用handler的过程,可能带来的内存泄露
转发:
http://my.eoe.cn/yaming/archive/5133.html
?
解决方式:
声明 handler 为 static 内部类,并且 对context 采取 弱引用?WeakReference?方式
使用handler的过程,可能带来的内存泄露
转发:
http://my.eoe.cn/yaming/archive/5133.html
?
解决方式:
声明 handler 为 static 内部类,并且 对context 采取 弱引用?WeakReference?方式