You should unregister the receivers in onPause() and register them in onResume(). This way, when And

1、这是关于receiver在哪个实例方法更合适的办法

http://stackoverflow.com/questions/9781769/activity-has-leaked-intentreceiver

猜你喜欢

转载自blog.csdn.net/cadi2011/article/details/69788912