Ejemplo n.º 1
0
        protected override void OnResume()
        {
            base.OnResume();

            tasks = vm.GetAll();

            // create our adapter
            adapter = new TaskListAdapter(this, tasks);

            //Hook up our adapter to our ListView
            taskList.Adapter = adapter;
        }
        public override void ViewWillAppear(bool animated)
        {
            base.ViewWillAppear(animated);

            TableView.Source = new TaskDataSource(vm.GetAll());
        }