public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { // Override point for customization after application launch. // If not required for your application you can safely delete this method // Profile.EnableUpdatesOnAccessTokenChange (true); // Settings.AppID = appId; // Settings.DisplayName = appName; UserDetails = new UserDetails(); UserProfile = new Profile (); leadsBL = new LeadsBL (); eventStore = new EKEventStore ( ); CalendarList = new List<CalenderEvent> (); customerBL = new CustomerBL (); IsUpdateLeadDone = false; referralRequestBL = new ReferralRequestBL (); CurrentRRList = new List<ReferralRequest> (); userBL = new UserBL (); brokerBL = new BrokerBL (); industryBL = new IndustryBL (); // UIApplication.SharedApplication.SetStatusBarStyle (UIStatusBarStyle.LightContent, false); // Code to start the Xamarin Test Cloud Agent #if ENABLE_TEST_CLOUD Xamarin.Calabash.Start(); #endif //return ApplicationDelegate.SharedInstance.FinishedLaunching (application, launchOptions); return true; }