Exemplo n.º 1
0
        protected override void OnAppearing()
        {
            try
            {
                base.OnAppearing();

                _viewModel?.Init();
                this.BindingContext = _viewModel;
            }
            catch (Exception ex)
            {
                DisplayAlert("Error", ex.Message, "OK");
            }
        }
Exemplo n.º 2
0
 protected async override void OnAppearing()
 {
     base.OnAppearing();
     await VM.Init();
 }