Forum Libraries, Components, and Plugins


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Why Acr.UserDialogs doesn't show the loading?

I'm trying to show loading using Acr.UserDialogs on Xamarin. I want to show the loading while I will getting some informations from WebService but it does not works, the loading just not showing.

How could I fix this ?


 private async void OnBtnEnviarClick(object sender, EventArgs args){            

            try {
                if (checkFields()){


                    ContatoDTO dto = new ContatoDTO();
                    var nome = Nome.Text;
                    var email = Email.Text;
                    var assunto = Assunto.SelectedItem as String;
                    var mensagem = Mensagem.Text;

                    dto.nome = nome;
           = email;
                    dto.assunto = assunto;
                    dto.mensagem = mensagem;

                    //from webservice
                    Dictionary<string, string> _resposta = UsuarioService.SendMailContatoApp(dto);

                    if (_resposta["status"].Equals("1"))
                        await DisplayAlert("Informação", _resposta["msg"], "Ok");
                        await Navigation.PopToRootAsync();
                        await DisplayAlert("Erro", _resposta["msg"], "Ok");

            catch (Exception e){
                await DisplayAlert("Erro", e.Message, "Ok");

Best Answer


  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭

    you should use

    // your async work
Sign In or Register to comment.