예제 #1
0
        public static Triceps newInstance(string text)
        {
            Triceps triceps = new Triceps();
            Bundle  bundle  = new Bundle();

            bundle.PutString("msg", text);

            triceps.Arguments = bundle;

            return(triceps);
        }
예제 #2
0
        public override Android.Support.V4.App.Fragment GetItem(int position)
        {
            switch (position)
            {
            case 0: return(Chest.newInstance("1"));

            case 1: return(Back.newInstance("2"));

            case 2: return(Shoulder.newInstance("3"));

            case 3: return(Legs.newInstance("4"));

            case 4: return(Biceps.newInstance("5"));

            case 5: return(Triceps.newInstance("6"));

            default: return(Chest.newInstance("Error"));
            }
        }