Beispiel #1
0
        public async Task loadItems(string filter = null)
        {
            Items.Clear();
            List <Item> items = await service.FindItems(ValidCategory(filter)?filter : null);

            foreach (Item i in items)
            {
                Items.Add(i);
            }
        }