public void SetLocationService(ILocationListener service = null) { _locationServiceCrossPlatformSimple = service ?? LocationListener.Create(); _locationServiceCrossPlatformSimple .OnError .Subscribe(exc => { Error = exc.ToString(); }); _locationServiceCrossPlatformSimple .IsListeningForChanges .Subscribe(isListening => IsListeningForLocationChanges = isListening); }