public override Android.Support.V4.App.Fragment GetItem(int position) { var fragment = NewsTabFragment.Instance(position); fragments.Add(fragment); return(fragment); }
public static NewsTabFragment Instance(int position) { NewsTabFragment rf = new NewsTabFragment(); Bundle b = new Bundle(); b.PutInt("position", position); rf.Arguments = b; return(rf); }