コード例 #1
0
		protected override void OnCreate (Bundle bundle)
		{
			base.OnCreate (bundle);

			SetContentView (Resource.Layout.activity_main);

			Android.Support.V4.App.FragmentTransaction transaction = SupportFragmentManager.BeginTransaction ();
			ClippingBasicFragment fragment = new ClippingBasicFragment ();
			transaction.Replace (Resource.Id.sample_content_fragment, fragment);
			transaction.Commit ();
		}
コード例 #2
0
		protected override void OnCreate (Bundle bundle)
		{
			base.OnCreate (bundle);
			SetContentView (Resource.Layout.activity_main);

			if (bundle == null) {
				FragmentTransaction transaction = FragmentManager.BeginTransaction ();
				var fragment = new ClippingBasicFragment ();
				transaction.Replace (Resource.Id.sample_content_fragment, fragment);
				transaction.Commit ();
			}
		}
コード例 #3
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            SetContentView(Resource.Layout.activity_main);

            Android.Support.V4.App.FragmentTransaction transaction = SupportFragmentManager.BeginTransaction();
            ClippingBasicFragment fragment = new ClippingBasicFragment();

            transaction.Replace(Resource.Id.sample_content_fragment, fragment);
            transaction.Commit();
        }
コード例 #4
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.activity_main);

            if (bundle == null)
            {
                FragmentTransaction transaction = FragmentManager.BeginTransaction();
                var fragment = new ClippingBasicFragment();
                transaction.Replace(Resource.Id.sample_content_fragment, fragment);
                transaction.Commit();
            }
        }
コード例 #5
0
 public ClippingListener(ClippingBasicFragment f)
 {
     frag = f;
 }
コード例 #6
0
 public ClipProvider(ClippingBasicFragment f)
 {
     frag = f;
 }
コード例 #7
0
			public TextListener(ClippingBasicFragment f)
			{
				frag = f;
			}