Exemple #1
0
        void MonthScrollToEnd(ScrollY scroll)
        {
            var item = ScrollY.GetCenterItem(scroll.Items);

            month = item.index + 1;
            RefreshDay();
        }
Exemple #2
0
        void YearScrollToEnd(ScrollY scroll)
        {
            var item = ScrollY.GetCenterItem(scroll.Items);

            if (item == null)
            {
                return;
            }
            year = ys[item.index];
            RefreshDay();
        }
Exemple #3
0
        void DayScrollToEnd(ScrollY scroll)
        {
            var item = ScrollY.GetCenterItem(scroll.Items);

            day = item.index + 1;
        }