Example #1
0
 public static PageFragment NewInstance(int page)
 {
     var args = new Bundle();
     args.PutInt(ArgPage, page);
     var fragment = new PageFragment();
     fragment.Arguments = args;
     return fragment;
 }
Example #2
0
        public static PageFragment NewInstance(int page)
        {
            var args = new Bundle();

            args.PutInt(ArgPage, page);
            var fragment = new PageFragment();

            fragment.Arguments = args;
            return(fragment);
        }
 public override Fragment GetItem(int position)
 {
     return(PageFragment.NewInstance(position + 1));
 }