public App() { InitializeComponent(); Container = new TinyIoCContainer(); Container.RegisterClient(); using (UserDialogs.Instance.Loading("Loading data...")) { MainPage = new NavigationPage(Container.Resolve <LoginPage>()); } }