public SearchTaskListPage()
        {
            InitializeComponent();

            viewModel = new SearchTaskListViewModel();

            BindingContext = viewModel;

            Title = "Search For Due Tasks";
        }
Esempio n. 2
0
        public SearchTaskListPage()
        {
            InitializeComponent();

            viewModel            = new SearchTaskListViewModel();
            viewModel.CutoffDate = DateTime.Now.AddDays(14);

            BindingContext = viewModel;

            myTasksList.ItemTapped += (sender, e) => myTasksList.SelectedItem = null;
            Title = "Search For Due Tasks";
        }