public override void WillShowViewController(UISplitViewController svc, UIViewController aViewController, UIBarButtonItem button) { SpeakerSessionMasterDetail dvc = svc.ViewControllers[1] as SpeakerSessionMasterDetail; if (dvc != null) { dvc.RemoveNavBarButton(); dvc.Popover = null; } }
public override void WillHideViewController(UISplitViewController svc, UIViewController aViewController, UIBarButtonItem barButtonItem, UIPopoverController pc) { SpeakerSessionMasterDetail dvc = svc.ViewControllers[1] as SpeakerSessionMasterDetail; if (dvc != null) { dvc.AddNavBarButton(barButtonItem); dvc.Popover = pc; } }
public SpeakerSplitView() { Delegate = new SpeakerSplitViewDelegate(); speakersList = new SpeakersScreen(this); speakerDetailWithSession = new SpeakerSessionMasterDetail(-1); ViewControllers = new UIViewController[] { speakersList, speakerDetailWithSession }; }
public SpeakerSplitView () { Delegate = new SpeakerSplitViewDelegate(); speakersList = new SpeakersScreen(this); speakerDetailWithSession = new SpeakerSessionMasterDetail(-1); ViewControllers = new UIViewController[] {speakersList, speakerDetailWithSession}; }
public void ShowSpeaker(int speakerID) { speakerDetailWithSession = this.ViewControllers[1] as SpeakerSessionMasterDetail; speakerDetailWithSession.Update(speakerID); }
public void ShowSpeaker (int speakerID) { speakerDetailWithSession = this.ViewControllers[1] as SpeakerSessionMasterDetail; speakerDetailWithSession.Update(speakerID); }