Ejemplo n.º 1
0
        public override Android.Support.V4.App.Fragment GetItem(int position)
        {
            var fragment = RecyclerViewFragment.Instance(position);

            fragments.Add(fragment);
            return(fragment);
        }
Ejemplo n.º 2
0
        public static RecyclerViewFragment Instance(int position)
        {
            RecyclerViewFragment rf = new RecyclerViewFragment();
            Bundle b = new Bundle();

            b.PutInt("position", position);
            rf.Arguments = b;
            return(rf);
        }