title: Inflating Fragment on Demand
body: <p>I have a <code>Fragment</code> hosting a lot of <code>Views</code> inside. Currently, however, I intend to hide those <code>Views</code> unless certain conditions are met, and let the <code>Fragment</code> display some placeholder text.</p>
  
  <p>I am currently just using a <code>FrameLayout</code> with an <strong>overlay</strong> for that <code>Fragment</code> that will have its <strong>visibility</strong> set to <strong>GONE</strong> if the conditions are met, but this solution isn't exactly optimal.</p>
  
  <p>Is there a way to inflate the contents of the <code>Fragment</code> <strong>on demand</strong>?</p>