Exemplo n.º 1
0
        public static DatePickerFragment NewInstance(Action <DateTime> onDateSelected)
        {
            DatePickerFragment frag = new DatePickerFragment();

            frag._dateSelectedHandler = onDateSelected;
            return(frag);
        }
Exemplo n.º 2
0
        private void TvDateForSearch_Click(object sender, EventArgs e)
        {
            DatePickerFragment frag = DatePickerFragment.NewInstance(delegate(DateTime time)
            {
                tvDateForSearch.Text = time.ToLongDateString();
            });

            frag.Show(FragmentManager, DatePickerFragment.TAG);

            lvFlights.Adapter = new FlightAdapter(this, new List <Flight>());
        }
        private void TvDate_Click(object sender, EventArgs e)
        {
            DatePickerFragment frag = DatePickerFragment.NewInstance(delegate(DateTime time)
            {
                tvDate.Text = time.ToLongDateString();
            });

            frag.Show(FragmentManager, DatePickerFragment.TAG);

            lvRevenueOffice.Adapter = new RevenueAdapter(this, new List <Revenue>());
        }
        private void TvDate_Click(object sender, EventArgs e)
        {
            DatePickerFragment frag = DatePickerFragment.NewInstance(delegate(DateTime time)
            {
                tvDate.Text = time.ToLongDateString();
            });

            frag.Show(FragmentManager, DatePickerFragment.TAG);

            lvEmptySeat.Adapter = new SeatReportAdapter(this, new List <SeatReport>());
        }