Example #1
0
		public void ShowMenuItem (MvxFragment fragment)
		{
			var topFragment = SupportFragmentManager.FindFragmentById (Resource.Id.content_frame);
			if (topFragment != null && topFragment.GetType ().Equals (fragment.GetType ())) {
				return;
			}

			SupportFragmentManager.BeginTransaction ().Replace (Resource.Id.content_frame, fragment).Commit ();
		}