title: Application.Current.MainPage vs Navigation.PushAsync() vs Navigation.PushModalAsync()
body: <p>I'm developing an Xamarin Forms App (PCL) that does NOT need a back button. That app has three pages : a <code>SplashScreenPage</code> to load data, a <code>LoginPage</code> if the user needs to login and a <code>RootPage</code> which is a <code>MasterDetailPage</code>. I was wondering what was the best option to navigate between pages (to avoid memory leaks for example): </p>
  
  <p><strong>First solution:</strong></p>
  
  <pre><code>Application.Current.MainPage = new ContentPage();
  </code></pre>
  
  <p><strong>Second solution:</strong></p>
  
  <pre><code>Navigation.PushAsync(new NavigationPage(new ContentPage()));
  </code></pre>
  
  <p>then</p>
  
  <pre><code>NavigationPage.SetHasNavigationBar(this, false);
  ClearNavigationStack();
  </code></pre>
  
  <p><strong>Third solution</strong></p>
  
  <pre><code>await Navigation.PushModalAsync(new NavigationPage(new ContentPage()));
  </code></pre>
  
  <p>then</p>
  
  <pre><code>NavigationPage.SetHasNavigationBar(this, false);
  ClearModalStack();
  </code></pre>