I am trying to use a BroadcastReceiver as an inner class to track the network state but I got the exception in the title. What should I do to
BroadcastReceiver
e~~I just meet that problem,and I refactor the class NetworkChangeReceiver to an another place
NetworkChangeReceiver