Beispiel #1
0
        public static FuelOrderDistributionFragment NewInstance()
        {
            var fuelOrderDistributionFragment = new FuelOrderDistributionFragment {
                Arguments = new Bundle()
            };

            return(fuelOrderDistributionFragment);
        }
        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);
        }