private void InitalizeMainPage(iOSMainView mainPage)
        {
            SetMainPage(mainPage);

            var schedulePage = CreateAndBindPage(typeof(ScheduleViewModel), null);

            SetNavigationIcon(schedulePage);
            mainPage.AddPage(schedulePage, "Schedule");

            var findPage = CreateAndBindPage(typeof(FindRideViewModel), null);

            SetNavigationIcon(findPage);
            mainPage.AddPage(findPage, "Find a ride");

            var myProfilePage = CreateAndBindPage(typeof(ProfileViewModel), null);

            SetNavigationIcon(myProfilePage);
            mainPage.AddPage(myProfilePage, "Settings");

            var drivePage = CreateAndBindPage(typeof(DriveViewModel), null);

            SetNavigationIcon(drivePage);
            if (App.CurrentUser.RiderRequests > 0)
            {
                mainPage.AddPage(drivePage, "Drive", Color.Red, App.CurrentUser.RiderRequests.ToString());
            }
            else
            {
                mainPage.AddPage(drivePage, "Drive");
            }

            mainPage.CurrentPageChanged += MainViewPageChanged;
        }
        private void InitalizeMainPage(iOSMainView mainPage)
        {
            SetMainPage(mainPage);

            var myTripsPage = CreateAndBindPage(typeof(MyTripsViewModel), null);

            SetNavigationIcon(myTripsPage);
            mainPage.AddPage(myTripsPage, "My Trips");

            var findFlightsPage = CreateAndBindPage(typeof(FindFlightsViewModel), null);

            SetNavigationIcon(findFlightsPage);
            mainPage.AddPage(findFlightsPage, "Find flights");

            var contactPage = CreateAndBindPage(typeof(BotViewModel), null);

            SetNavigationIcon(contactPage);
            mainPage.AddPage(contactPage, "Contact");

            var profilePage = CreateAndBindPage(typeof(ProfileViewModel), null);

            SetNavigationIcon(profilePage);
            mainPage.AddPage(profilePage, "Profile");

            InitializePageViewModelAsync(mainPage, _requestedNavigationParameter);
            mainPage.CurrentPageChanged += MainViewPageChanged;
        }