Exemplo n.º 1
0
        public override UIView GetViewForHeader(UITableView tableView, int section)
        {
            if (AppDelegate.IsPhone)
            {
                return(null);                                 // phone doesn't have header
            }
            if (upNext == null)
            {
                return(null);                            // conference is over
            }
            var title = "Up Next at " + upNextTime.ToString("H:mm dddd");

            return(DaysTableSource.BuildSectionHeaderView(title));
        }
Exemplo n.º 2
0
        public override UIView GetViewForHeader(UITableView tableView, nint section)
        {
            if (AppDelegate.IsPhone)
            {
                return(null);
            }
            var headerText = groupedFavorites[(int)section].Timeslot;

            if (section == 0)
            {
                headerText = "Favorites for " + headerText;
            }
            return(DaysTableSource.BuildSectionHeaderView(headerText));
        }