public static ReflectionFeedFragment NewInstance(int position) { var f = new ReflectionFeedFragment(); var b = new Bundle(); b.PutInt("position", position); f.Arguments = b; return(f); }
public override Android.Support.V4.App.Fragment GetItem(int position) { if (position == 0) { return(ReflectionFeedFragment.NewInstance(position)); } else if (position == 1) { return(OverviewFragment.NewInstance(position)); } return(LeaderboardFragment.NewInstance(position)); }