예제 #1
0
		protected override void OnCreate (Bundle bundle)
		{
			base.OnCreate (bundle);
 			SetContentView (Resource.Layout.Main);

			if (FragmentManager.FindFragmentByTag (FRAGTAG) == null ) {
				FragmentTransaction transaction = FragmentManager.BeginTransaction ();
				var fragment = new StorageClientFragment ();
				transaction.Add (fragment, FRAGTAG);
				transaction.Commit ();
			}
		}
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.Main);

            if (FragmentManager.FindFragmentByTag(FRAGTAG) == null)
            {
                FragmentTransaction transaction = FragmentManager.BeginTransaction();
                var fragment = new StorageClientFragment();
                transaction.Add(fragment, FRAGTAG);
                transaction.Commit();
            }
        }