Пример #1
0
        public static FuelCheckListFragment NewInstance()
        {
            var fuelCheckListFragment = new FuelCheckListFragment {
                Arguments = new Bundle()
            };

            return(fuelCheckListFragment);
        }
Пример #2
0
        public override Fragment GetItem(int position)
        {
            switch (position)
            {
            case 0:
                return(FuelCheckDataInputFragment.NewInstance());

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

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