Beispiel #1
0
        public static PageFragment newInstance(int page)
        {
            var args = new Bundle();

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

            fragment.Arguments = args;
            return(fragment);
        }
Beispiel #2
0
 public override Fragment GetItem(int position)
 {
     return(PageFragment.newInstance(position + 1));
 }