Beispiel #1
0
        public async void GetAllTodos()
        {
            var items = await _dataContext.GetAllTodos();

            todos                 = items.Select(t => new TodoViewModel(t)).ToList();
            todoGridAdapter       = new Adapters.TodoGridAdapter(this, todos, _dataContext);
            todosGridView.Adapter = todoGridAdapter;
        }
    public async void GetAllTodos()
    {
      var items = await _dataContext.GetAllTodos();

      todos = items.Select(t => new TodoViewModel(t)).ToList();
      todoGridAdapter = new Adapters.TodoGridAdapter(this, todos, _dataContext);
      todosGridView.Adapter = todoGridAdapter;
    }