private void DoOnItemClicked(object sender, AdapterView.ItemClickEventArgs eventArgs) { var task = _taskListAdapter[eventArgs.Position]; var intent = TaskActivity.CreateIntent(this, task.Id); StartActivity(intent); }
public override bool OnOptionsItemSelected(IMenuItem item) { if (item.ItemId == Resource.Id.menu_add) { var intent = TaskActivity.CreateIntent(this); StartActivity(intent); } return(base.OnOptionsItemSelected(item)); }