Пример #1
0
        protected override void OnAppearing()
        {
            try
            {
                base.OnAppearing();

                _viewModel?.Init();
                this.BindingContext = _viewModel;
            }
            catch (Exception ex)
            {
                DisplayAlert("Error", ex.Message, "OK");
            }
        }