示例#1
0
		/// <summary>
		/// Change the session info being displayed in the view
		/// </summary>
		public void Update (SessionDetailsViewModel session)
		{
			if (speakerTable != null) // need to re-set, incase index 10 was selected last time and new session has fewer speakers
				speakerTable.SelectRow (NSIndexPath.FromRowSection (0,0), true, UITableViewScrollPosition.Top);

			showSession = session;
			Update ();
			LayoutSubviews ();
		}
示例#2
0
		public void Clear()
		{
			showSession = null;
			LayoutSubviews (); // show the grey 'no session' message
		}