Exemplo n.º 1
0
        private void OkButton_Clicked(object sender, EventArgs e)
        {
            if (!string.IsNullOrEmpty(CriteriaNameEntry.Text) && CriteriaImportanceSlider.Value != 0)
            {
                CriteriaValidated?.Invoke(this, new CustomEventArgs(Criteria));

                Shell.Current.Navigation.PopAsync();
            }
        }
Exemplo n.º 2
0
        public async void NavBackImplementation()
        {
            CriteriaValidated?.Invoke(this, new CustomEventArgs(Criteria));

            await Shell.Current.Navigation.PopAsync();
        }