Example #1
0
        private async void LoadClientsList()
        {
            IsBusy = true;
            int numClients = Convert.ToInt32(Application.Current.Resources["numClients"]);

            ClientsList = new ObservableCollection <ItemModel>(await StringListRepository.GetAll(numClients, "Client_"));
            IsBusy      = false;
        }
Example #2
0
        private async void LoadList()
        {
            IsBusy = true;
            int numItems = Convert.ToInt32(Application.Current.Resources["numItems"]);

            ItemsList = await StringListRepository.GetAll(numItems, "String_") as List <ItemModel>;

            IsBusy = false;
        }