예제 #1
0
        public static TimePickerFragment NewInstance(DateTime date)
        {
            TimePickerFragment fragment = new TimePickerFragment();
            fragment.mDate = date;

            Bundle args = new Bundle();
            args.PutInt(EXTRA_HOUR, date.Hour);
            args.PutInt(EXTRA_MINUTE, date.Minute);
            fragment.Arguments = args;

            return fragment;
        }