Exemplo n.º 1
0
        private async void DoneExecute()
        {
            string answer = await _messageBoxService.ShowActionSheet("Done?", "Cancel", null, new string[] { "Save and done", "Discard" });

            if (string.IsNullOrEmpty(answer) || answer != "Cancel")
            {
                await _navigationService.GoBackAsync();
            }
        }