Ejemplo n.º 1
0
        private void MyList_Refreshing(object sender, EventArgs e)
        {
            // Call to the remote service
            _contacts = new ObservableCollection <Contact>()
            {
                new Contact {
                    Name = "Adrien", Status = "", ImageUrl = "http://lorempixel.com/100/100/people/1"
                },
                new Contact {
                    Name = "Alfred", Status = "La lambo moret", ImageUrl = "http://lorempixel.com/100/100/people/3"
                },
                new Contact {
                    Name = "Emilie", Status = "Hey, let's talk", ImageUrl = "http://lorempixel.com/100/100/people/2"
                }
            };

            MyList.ItemsSource = _contacts;

            MyList.EndRefresh();
        }