Example #1
0
        private async void LstView_Refreshing(object sender, EventArgs e)
        {
            var post = _contacts = await GetContact();

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

            _person             = new ObservableCollection <Person>(post);
            LstView.ItemsSource = _person;
            LstView.EndRefresh();
        }