转发:
http://my.eoe.cn/yaming/archive/5133.html
解决方式:
声明 handler 为 static 内部类,并且 对context 采取 弱引用 WeakReference 方式