public override void Create() { WebPages.Add(new LoginPage()); WebPages.Add(new ProductPage()); WebPages.Add(new ProjectPage()); WebPages.Add(new ContactPage()); }
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()); }