title: Xamarin forms - Load pages best practices
body: <p>I want to create a "loader" which displayed when my ContentView will be loaded.</p>
  
  <p>Like this in YouTube application:</p>
  
  <p><a href="https://i.stack.imgur.com/8mrTH.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8mrTH.gif" alt="enter image description here"></a></p>
  
  <p>As you can see, when I click on tab button, a loader appears.</p>
  
  <p>But in Xamarin.Forms, I don't know how to do that, because ContentView have not OnAppearing to hide my loader. (And because my loader will be displayed at the same time of my ContentView).
  When I click on my button, my app "froze" during 200ms approximately... Not good for user experience...</p>
  
  <p>This is why I come here, what is the best practice to display my content?</p>
  
  <p>Thanks</p>