示例#1
0
        public static FirstFragment newInstance(String text)
        {
            FirstFragment f = new FirstFragment();
            Bundle        b = new Bundle();

            b.PutString("msg", text);
            f.Arguments = (b);
            return(f);
        }
示例#2
0
        // Returns a new fragment for the flash card at this position:
        public override Fragment GetItem(int position)
        {
            return(FirstFragment.newInstance("FirstFragment, Instance 1"));

            //  return null;// (Android.Support.V4.App.Fragment)  AdressFragment.newInstance(adresses[position].Adress);
        }