コード例 #1
0
        public SessionSplitView()
        {
            Delegate = new SessionSplitViewDelegate();

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

            this.ViewControllers = new UIViewController[]
                {sessionsList, sessionDetailsWithSpeakers};
        }
コード例 #2
0
        public SessionSplitView()
        {
            Delegate = new SessionSplitViewDelegate();

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

            this.ViewControllers = new UIViewController[]
            { sessionsList, sessionDetailsWithSpeakers };
        }
コード例 #3
0
 /// <summary>
 /// On 'view will appear', if we were showing a particular day last time,
 /// we're going to revert to the entire schedule this time
 /// </summary>
 public override void ViewWillAppear(bool animated)
 {
     base.ViewWillAppear (animated);
     ConsoleD.WriteLine ("viewappear showingDay = " + showingDay);
     if (!showingDay) {
         var sl = ViewControllers[0] as SessionsScreen;
         sl.ShowAll();
         sessionsList = sl;
     }
     showingDay = false;
 }
コード例 #4
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
        }
コード例 #5
0
		/// <summary>
		/// On 'view will appear', if we were showing a particular day last time,
		/// we're going to revert to the entire schedule this time
		/// </summary>
		public override void ViewWillAppear (bool animated)
		{
			base.ViewWillAppear (animated);
			ConsoleD.WriteLine ("viewappear showingDay = " + showingDay);
			if (!showingDay) {
				var sl = ViewControllers[0] as SessionsScreen;
				sl.ShowAll();
				sessionsList = sl;
			}
			showingDay = false;
		}
コード例 #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
        }