Exemplo n.º 1
0
 public override void Create()
 {
     WebPages.Add(new LoginPage());
     WebPages.Add(new ProductPage());
     WebPages.Add(new ProjectPage());
     WebPages.Add(new ContactPage());
 }
Exemplo n.º 2
0
        async Task ExecuteLoadItemsCommand()
        {
            IsBusy = true;

            try
            {
                WebPages.Clear();
                var items = await DataStore.GetItemsAsync(true);

                foreach (var item in items)
                {
                    WebPages.Add(item);
                }
            }
            catch (Exception ex)
            {
                await DataStore.DeleteAllItemsAsync();

                Debug.WriteLine(ex);
            }
            finally
            {
                IsBusy = false;
            }
        }
 public override void Create()
 {
     WebPages.Add(new ProfilePage());
     WebPages.Add(new ContactPage());
 }