public override Android.Support.V4.App.Fragment GetItem(int position) { switch (position) { default: return(RouteFragment.create(position)); } }
/** * Factory method for this fragment class. Constructs a new fragment for the given page number. */ public static RouteFragment create(int offset) { RouteFragment fragment = new RouteFragment(); Bundle args = new Bundle(); args.PutInt(C_OFFSET, offset); fragment.Arguments = args; return(fragment); }