Ejemplo n.º 1
0
        public static FuelOrderOrderFragment NewInstance()
        {
            var fuelOrderOrderFragment = new FuelOrderOrderFragment {
                Arguments = new Bundle()
            };

            FuelOrderOrderFragmentInstance = fuelOrderOrderFragment;
            return(fuelOrderOrderFragment);
        }
        public override Fragment GetItem(int position)
        {
            switch (position)
            {
            case 0:
                return(FuelOrderDistributionFragment.NewInstance());

            case 1:
                return(FuelOrderUpliftFragment.NewInstance());

            case 2:
                return(FuelOrderOrderFragment.NewInstance());
            }
            return(null);
        }