public DroidReachabilityService(IMvxMessenger messenger)
        {
            _messenger = messenger;
            _manager   = (ConnectivityManager)Application.Context.GetSystemService(Context.ConnectivityService);

            if (Build.VERSION.SdkInt <= BuildVersionCodes.N)
            {
                var receiver = new ConnectionBroadcastReceiver(this);
#pragma warning disable CS0618 // Type or member is obsolete
                Application.Context.RegisterReceiver(receiver, new IntentFilter(ConnectivityManager.ConnectivityAction));
#pragma warning restore CS0618 // Type or member is obsolete
            }
            else
            {
                var callback = new ConnectionCallback(this);
                _manager.RegisterDefaultNetworkCallback(callback);
            }
        }