title: Is there a way to determine in Android if an Activity's content view has been created/displayed?
body: <p>At the very beginning of my app I load up some Fragments in tabs. Here is one that I load:</p>
  
  <pre><code>WishlistFragment wishlistfragment = new WishlistFragment();
  </code></pre>
  
  <p>Once the Fragment has been loaded and displayed, I will be calling this from other Fragments:</p>
  
  <pre><code>wishlistfragment.adapter.notifyDataSetChanged();
  </code></pre>
  
  <p>The problem is, if I call this BEFORE the wishlistfragment is ever created/displayed, I get the following exception:</p>
  
  <blockquote>
    <p>java.lang.IllegalStateException: Content view not yet created.</p>
  </blockquote>
  
  <p>Is there a way, programmatically, to determine if a view has been created yet?</p>