예제 #1
0
        protected override void OnAppearing()
        {
            try
            {
                base.OnAppearing();

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