예제 #1
0
 public override Android.Support.V4.App.Fragment GetItem(int i)
 {
     var fragment = new DemoObjectFragment();
     var bundle = new Bundle();
     // Our object is just an integer :-P
     bundle.PutInt(DemoObjectFragment.ArgObject, i);
     fragment.Arguments = bundle;
     return fragment;
 }
예제 #2
0
        public override Android.Support.V4.App.Fragment GetItem(int i)
        {
            var fragment = new DemoObjectFragment();
            var bundle   = new Bundle();

            // Our object is just an integer :-P
            bundle.PutInt(DemoObjectFragment.ArgObject, i);
            fragment.Arguments = bundle;
            return(fragment);
        }