public SessionSplitView() { Delegate = new SessionSplitViewDelegate(); sessionsList = new SessionsScreen(this); sessionDetailsWithSpeakers = new SessionSpeakersMasterDetail(-1); this.ViewControllers = new UIViewController[] {sessionsList, sessionDetailsWithSpeakers}; }
public SessionSplitView() { Delegate = new SessionSplitViewDelegate(); sessionsList = new SessionsScreen(this); sessionDetailsWithSpeakers = new SessionSpeakersMasterDetail(-1); this.ViewControllers = new UIViewController[] { sessionsList, sessionDetailsWithSpeakers }; }
/// <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; }
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 }
/// <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; }