private async void LstView_Refreshing(object sender, EventArgs e) { var post = _contacts = await GetContact(); _contacts = new ObservableCollection <Contact>(post); LstView.ItemsSource = _contacts; LstView.EndRefresh(); }
private async void LstView_Refreshing(object sender, EventArgs e) { var post = await GetPeopleAsync(); _person = new ObservableCollection <Person>(post); LstView.ItemsSource = _person; LstView.EndRefresh(); }