예제 #1
0
        public static EmployeeFragment create(string pharmacyUUID)
        {
            var fragment  = new EmployeeFragment();
            var arguments = new Bundle();

            arguments.PutString(C_PHARMACY_UUID, pharmacyUUID);
            fragment.Arguments = arguments;
            return(fragment);
        }
예제 #2
0
            public override V4App.Fragment GetItem(int position)
            {
                switch (position)
                {
                case 0:
                    return(PharmacyFragment.create(PharmacyUUID));

                case 1:
                    return(EmployeeFragment.create(PharmacyUUID));

                case 2:
                    return(InfoFragment.create(PharmacyUUID, AttendanceLastUUID));

                case 3:
                    return(PhotoFragment.create(PharmacyUUID, AttendanceLastUUID));

                default:
                    return(ScreenSlidePageFragment.create(position, false));
                }
            }