Merlin : Android Network Monitoring Library
Merlin observes network connection status and provides callbacks. It aims to simplify network monitoring by providing three registerable callbacks which are,
onConnect() : When the network state changes from disconnected to connected and a successful host ping has completed.
onDisconnect() : When the network state changes from connected to disconnected.
onBind(NetworkStatus networkStatus) : When the MerlinService has binded, the current NetworkStatus is provided, although this is without pinging a host.