Esempio n. 1
0
        async Task ExecuteLoadItemsCommand()
        {
            IsBusy = true;

            try
            {
                Items.Clear();
                var items = await firestoreHelper.GetHobbiesByParent(Title);

                foreach (var item in items)
                {
                    Items.Add(item);
                }
            }
            catch (Exception ex)
            {
                Debug.WriteLine(ex);
            }
            finally
            {
                IsBusy = false;
            }
        }
Esempio n. 2
0
        public async void GetMinList()
        {
            string input = "Science";

            minItemList = await firestoreHelper.GetHobbiesByParent(input);
        }