title: Must we call getLoaderManager().initLoader(0, null, this) after setListAdapter(adapter)?
body: <p>I just noticed that every example that I have seen uses <code>ListFragment</code> and calls</p>
  
  <pre><code>adapter = new Adapter(context);
  setListAdapter(adapter);
  getLoaderManager().initLoader(0, null, this);
  </code></pre>
  
  <p>exactly in that order.</p>
  
  <p>When I use <code>Fragment</code>, and do this</p>
  
  <pre><code>@Override
  public void onActivityCreated(Bundle savedInstanceState) {
      super.onActivityCreated(savedInstanceState);
      adapter = new Adapter(mContext);
      getLoaderManager().initLoader(0, null, this);
  }
  
  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
      View view = inflater.inflate(R.layout.fragment, container, false);
      listView = (ListView) view.findViewById(R.id.listview);
  
      listView.setAdapter(adapter);
      return view;
  }
  </code></pre>
  
  <p>it doesn't work. I traced inside <code>onLoadFinished(Loader&lt;Cursor&gt; loader, Cursor cursor)</code> and noticed that the <code>adapter</code> doesn't know its <code>ListView</code>, so the <code>swapCursor(newCursor)</code> doesn't have an effect.</p>
  
  <p>But when I do this, it works.</p>
  
  <pre><code>@Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
      View view = inflater.inflate(R.layout.fragment, container, false);
      listView = (ListView) view.findViewById(R.id.listview);
      adapter = new Adapter(mContext);
      listView.setAdapter(adapter);
      getLoaderManager().initLoader(0, null, this);
      return view;
  }
  </code></pre>
  
  <p>I feel like I know the problem, but I need an explanation to confirm. Thanks.</p>