private async Task AddItem(TodoItem item) { await manager.SaveTaskAsync(item); Collection <TodoItem> s = new Collection <TodoItem>(); todoList.ItemsSource = await manager.GetTodoItemsAsync(); s = await manager.GetTodoItemsAsync(); Debug.WriteLine(s[0].Text + "/" + s[0].Id + "/" + s[0].Version + "/" + s[0].Done); }
private async Task AddItem(TodoItem item) { await manager.SaveTaskAsync(item); todoList.ItemsSource = await manager.GetTodoItemsAsync(); }