protected override void OnResume() { base.OnResume(); tasks = taskMgr.GetTasks(); taskList = new TaskListAdapter(this, tasks); taskListView.Adapter = taskList; }
protected override void OnResume() { base.OnResume(); this._tasks = TaskManager.GetTasks(); // create our adapter this._taskList = new TaskListAdapter(this, this._tasks); //Hook up our adapter to our ListView this._taskListView.Adapter = this._taskList; }