Using the solution mentioned here, I was able to get the status of network. But I also need to implement the event for when the status changes. I know I have to use the addDefaultNetworkActiveListener procedure, but I am having trouble with the interface of OnNetworkActiveListener
. Does anyone know what the interface for OnNetworkActiveListener
looks like?
Thank you Sam