private async void Current_PositionChanged(object sender, PositionEventArgs e) { Log.Debug(TAG, $"new Location({e.Position.Latitude}, {e.Position.Longitude}"); // new GroceryList.Droid.Services.NotificationHelper().CreateNotification("newNotific", $"new Location({e.Position.Latitude}, {e.Position.Longitude}"); await proximityService.CheckProximityAsync(e.Position.Latitude, e.Position.Longitude); }
private async void Current_PositionChanged(object sender, Plugin.Geolocator.Abstractions.PositionEventArgs e) { Debug.WriteLine($"LocationChangeEvent occured: lat={e.Position.Latitude}; long={e.Position.Longitude}"); await proximityService.CheckProximityAsync(e.Position.Latitude, e.Position.Longitude); }