Пример #1
0
		public override void WillShowViewController (UISplitViewController svc, UIViewController aViewController, UIBarButtonItem button)
		{
			SessionSpeakersMasterDetail dvc = svc.ViewControllers[1] as SessionSpeakersMasterDetail;
			
			if (dvc != null) {
				dvc.RemoveNavBarButton ();
				dvc.Popover = null;
			} else ConsoleD.WriteLine ("SessionSplitViewController dvc == null (show)");
		}
Пример #2
0
		public override void WillHideViewController (UISplitViewController svc, UIViewController aViewController, UIBarButtonItem barButtonItem, UIPopoverController pc)
		{
			SessionSpeakersMasterDetail dvc = svc.ViewControllers[1] as SessionSpeakersMasterDetail;
			
			if (dvc != null) {
				dvc.AddNavBarButton (barButtonItem);
				dvc.Popover = pc;
			} else ConsoleD.WriteLine ("SessionSplitViewController dvc == null (hide)");
		}
Пример #3
0
        public SessionSplitView()
        {
            Delegate = new SessionSplitViewDelegate();

            sessionsList = new SessionsScreen(this);
            sessionDetailsWithSpeakers = new SessionSpeakersMasterDetail(-1);

            this.ViewControllers = new UIViewController[]
                {sessionsList, sessionDetailsWithSpeakers};
        }
Пример #4
0
        public SessionSplitView()
        {
            Delegate = new SessionSplitViewDelegate();

            sessionsList = new SessionsScreen(this);
            sessionDetailsWithSpeakers = new SessionSpeakersMasterDetail(-1);

            this.ViewControllers = new UIViewController[]
            { sessionsList, sessionDetailsWithSpeakers };
        }
Пример #5
0
        public void ShowDay(int day)
        {
            //this.day = day;
            showingDay = true;
            var sl = ViewControllers[0] as SessionsScreen;
            sl.FitlerByDay(day);
            sessionsList = sl;

            sessionDetailsWithSpeakers = this.ViewControllers[1] as SessionSpeakersMasterDetail;
            sessionDetailsWithSpeakers.SelectSpeaker(-1); // blank out for a new day
        }
Пример #6
0
        public void ShowDay(int day)
        {
            //this.day = day;
            showingDay = true;
            var sl = ViewControllers[0] as SessionsScreen;

            sl.FitlerByDay(day);
            sessionsList = sl;

            sessionDetailsWithSpeakers = this.ViewControllers[1] as SessionSpeakersMasterDetail;
            sessionDetailsWithSpeakers.SelectSpeaker(-1);             // blank out for a new day
        }
Пример #7
0
 public void ShowSession(int sessionID)
 {
     sessionDetailsWithSpeakers = this.ViewControllers[1] as SessionSpeakersMasterDetail;
     sessionDetailsWithSpeakers.SelectSpeaker(sessionID);
 }
Пример #8
0
 public void ShowSession(int sessionID)
 {
     sessionDetailsWithSpeakers = this.ViewControllers[1] as SessionSpeakersMasterDetail;
     sessionDetailsWithSpeakers.SelectSpeaker(sessionID);
 }