Exemplo n.º 1
0
        public async Task LoadAsync()
        {
            var friends = await _friendDataService.GetAllAsync();

            Friends.Clear();
            foreach (var friend in friends)
            {
                Friends.Add(friend);
            }
            clientsCollection.Source  = Friends;
            clientsCollection.Filter += usersCollection_Filter;
        }
Exemplo n.º 2
0
        public async Task LoadAsync()
        {
            var friends = await _friendDataService.GetAllAsync();

            Friends.Clear();
            foreach (var friend in friends)
            {
                Friends.Add(friend);
            }
        }