Exemplo n.º 1
0
 public sealed override async void Init(object obj = null)
 {
     WriteLog.Write("WelcomePage #Init()");
     App.Configuration.Initial(this);
     NavigationPage.SetHasNavigationBar(this, false);
     _model         = new WelcomeViewModel();
     BindingContext = _model;
     await _model.OnLoad();
 }
Exemplo n.º 2
0
        private async void Initial()
        {
            await App.Configuration.InitialAsync(this);

            NavigationPage.SetHasNavigationBar(this, false);
            _model = new WelcomeViewModel();
            _model.SetActivityResource(false, true, false, false, TextResources.ValidatingCredentials, string.Empty,
                                       string.Empty);
            BindingContext   = _model;
            _backButtonPress = DependencyService.Get <IBackButtonPress>();
            await _model.OnLoad();
        }