Exemple #1
0
        public static DataHora NewInstance(Action <DateTime> onDateSelected)
        {
            DataHora frag = new DataHora();

            frag._dateSelectedHandler = onDateSelected;
            return(frag);
        }
Exemple #2
0
        void DateSelect_OnClick(object sender, EventArgs eventArgs)
        {
            DataHora frag = DataHora.NewInstance(delegate(DateTime time)
            {
                //_dateDisplay.Text = time.ToLongDateString();
            });

            frag.Show(FragmentManager, DataHora.TAG);
        }