예제 #1
0
		/// <summary>
		/// этот метод вызывается после того, как будет вызван intent.GoBackWithResult() от дочерней вьюшки -- ( реализация от собственной либы CoCore)
		/// </summary>
		/// <returns><c>true</c>, if with result was returned, <c>false</c> otherwise.</returns>
		/// <param name="intent">Intent.</param>
		public bool ReturnWithResult (Intent intent)
		{
			var context = intent.Get<string> ("context");
			var station = intent.Get<Station> ("station");
			if (context == "to") {
				ToSchedule = station.StationTitle;
			} else if (context == "from") {
				FromSchedule = station.StationTitle;
			}
			return true;
		}