title: SherlockListFragment doesn't update when setListAdapter is called
body: <p>I have the following code, for my SherlockListFragment,</p>
  
  <pre><code>public class RoutesListFragment extends SherlockListFragment {
  
      private ArrayList&lt;Route&gt; mItems;
      private static final String TAG = "ROUTES LIST";
  
      RoutesAdapter mAdapter;
  
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container,
              Bundle savedInstaceState) {
  
          View view = inflater.inflate(R.layout.fragment_main_lists, container,
                  false);
  
              // When the setListAdapter is called here,
              // it works without any problems
  
          return view;
      }
  
      public void updateAdapter() {
          // populate the list
          mItems = Route.getRouteList();
          Log.d(TAG, "Size of mItems : " + mItems.size());
          mAdapter = new RoutesAdapter(getActivity(), R.layout.list_item_routes,
                  mItems);
  
          this.setListAdapter(mAdapter);
  
      }
  
      @Override
      public void onListItemClick(ListView l, View v, int position, long id) {
          Log.d(TAG, "Clicked item " + position);
      }
  
      private class RoutesAdapter extends ArrayAdapter&lt;Route&gt; {
  
          private ArrayList&lt;Route&gt; mItems;
          private Context mContext;
          int mTextViewResource;
  
          public RoutesAdapter(Context context, int textViewResource,
                  ArrayList&lt;Route&gt; items) {
              super(context, textViewResource);
  
              this.mItems = items;
              this.mContext = context;
              this.mTextViewResource = textViewResource;
          }
  
          @Override
          public View getView(int position, View convertView, ViewGroup parent) {
              View view = convertView;
  
              if (view == null) {
                  LayoutInflater inflater = (LayoutInflater) mContext
                          .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
                  view = inflater.inflate(mTextViewResource, null);
              }
  
              Route route = mItems.get(position);
  
              ((TextView) view.findViewById(R.id.route_name)).setText(route
                      .getRouteName());
              ((TextView) view.findViewById(R.id.route_number)).setText(Integer
                      .toString(route.getRouteNumber()));
              ((TextView) view.findViewById(R.id.direction)).setText(route
                      .getDirection().toString());
              ((TextView) view.findViewById(R.id.start_end)).setText(route
                      .getStartingStop() + " - " + route.getEndingStop());
  
              return view;
          }
  
      }
  }
  </code></pre>
  
  <h1>More Details</h1>
  
  <ul>
  <li><p>I have checked to make sure that the <code>ArrayList&lt;Route&gt; mItems</code> is not empty.</p></li>
  <li><p>The <code>updateAdapter()</code> function gets called from the <code>onPostExecute</code> function of an <code>AsyncTask</code>.</p></li>
  <li><p>This <code>SherlockListFragment</code> is used in a <code>ViewPagerIndicator</code> tab.</p></li>
  <li><p>It works when the <code>setListAdapter() is called from the</code>onCreateView`` function.</p></li>
  </ul>