private async void RefreshCinemas() { try { cinemasListView.IsRefreshing = true; var position = await GeoLocation.GetCurrentLocation(); var cinemas = await Service.GetCinemas(position.Latitude, position.Longitude, (int)Slider.Value); CinemaList = new ObservableCollection <Cinema>(cinemas.Where(c => c.Name != null)); cinemasListView.ItemsSource = CinemaList; } catch (GeolocationException E) { await DisplayAlert("Error", "Please enable the location service.", "Exit"); AppControls.CloseApp(); } catch (TaskCanceledException E) { await DisplayAlert("Oops..!!", "Unable to find your location. Please try again.", "Ok"); } catch (Exception E) { await DisplayAlert("Error", $"{E} - {E.Message}", "Exit"); AppControls.CloseApp(); } finally { cinemasListView.IsRefreshing = false; } }