Esempio n. 1
0
		Page PageForOption (OptionItem option, object parameters)
		{
			if (option.Title == "Groups" && parameters == null) {
				//ShowGroupDialogAsync ();
				return new ContentPage ();
			}

			if (option.Title == "Groups")
				return new ContentPage ();

			throw new NotImplementedException ("Unknown menu option: " + option.Title);
		}
Esempio n. 2
0
		public void NavigateTo (OptionItem option, object parameters)
		{
			if (previousItem != null)
				previousItem.Selected = false;

			option.Selected = true;
			previousItem = option;
			Title = option.Title;


			//Content = PageForOption (option, parameters);

			//IsPresented = false;
		}