title: What is the different between Navigation.PushModalAsync() andNavigation.PushAsync() In Xamarin Forms?
body: <p>Reason for ask this i got error when i use PushAsync in xamarin forms mvvm architecture</p>
  
  <pre><code>await Navigation.PushAsync(new Page2());
  </code></pre>
  
  <p>Error is</p>
  
  <p><a href="https://i.stack.imgur.com/1Mtpv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1Mtpv.png" alt="enter image description here"></a></p>
  
  <p>I have corrected this error by changing PushAsync to PushModelAsync</p>
  
  <pre><code>await Navigation.PushModalAsync(new Page2());
  </code></pre>
  
  <p>anyone has idea about what cause to this error?</p>
  
  <p>i am calling PushModelAsync from ViewModel</p>
  
  <pre><code>public class Page1Model : INotifyPropertyChanged
      {
          public event PropertyChangedEventHandler PropertyChanged;
  
          public INavigation Navigation { get; set; }
          public Command ContinueBtnClicked { get; }
  
          public Page1Model(INavigation navigation)
          {
              this.Navigation = navigation;
              this.ContinueBtnClicked = new Command(async () =&gt; await GotoPage2());
          }
  
          public async Task GotoPage2()
          {
              await Navigation.PushModalAsync(new Page2());
          }
      }
  </code></pre>