title: ViewStub vs View.GONE vs Inflate vs ViewSwitcher
body: <p>I've a question related to lazily loading a views / layout performance.
  Sometimes we want to dynamically show / hide multiple view. In this case, we have four options:</p>
  
  <ol>
  <li>Include all layout in .xml and use setVisibility method (like View.GONE and VIEW.VISIBLE) </li>
  <li>Using a ViewFlipper / ViewSwitcher</li>
  <li>Using a ViewStub</li>
  <li>Programmatically inflating new layouts.</li>
  </ol>
  
  <p>Which one has the best performance?
  I've been Googling around and found that ViewStub is specifically designed for that, but I'm not sure about it. Maybe I was wrong or maybe there's even a fifth option that I didn't know. Do you have different opinion or experience related to this? Thanks!</p>