title: Xamarin forms : DisplayAlert not working
body: <p>Dears,</p>
  
  <p>I am using DisplayAlert in my project for displaying no internet connection alert. Unfortunately, it is not working.</p>
  
  <p>It working fine in another part. I don't know the reason why it behaves like this.</p>
  
  <p>My code:</p>
  
  <pre><code>            if (Utility.IsInternet())
              {
                 UserTweetsList();
              }
              else
               {
                  Debug.WriteLine("Enter no internet block");
                 DisplayAlert("Alert", "No internet connection", "Ok");
               }
  </code></pre>
  
  <p>Code enters the else block and print the "Enter no internet block" in the output, but not displaying the alert message.</p>
  
  <p>What are the possible reasons for this?</p>
  
  <p>Thanks in advance....</p>