//Refreshes the list public void getMongoData() { try { gameStats = new ObservableCollection <GameStats>(); MongoService ms = new MongoService(); List <GameStats> listdata = ms.GetAllStats(); foreach (var c in listdata) { gameStats.Add(c); } StatsView.ItemsSource = gameStats; } catch (Exception) { DisplayAlert("ERROR", "Network Connection Required To View Stats", "OK"); } }