Example #1
0
        async Task ExecuteLoadPersonCommand(bool loadAPI = false)
        {
            IsBusy = true;
            try
            {
                Items.Clear();
                var items = await PersonStore.GetItemsAsync(true, loadAPI);

                foreach (var item in items)
                {
                    Items.Add(item);
                }
            }
            catch (Exception ex)
            {
                Debug.WriteLine(ex);
            }
            finally
            {
                IsBusy = false;
            }
        }