code: private void fillAdapters() {
      List<Fragment> fragments = new ArrayList<Fragment>();
      List<String> listItems = new ArrayList<String>();
      for (int i = 0; i < 100; i++) {
        String title = "Fragment #" + i;
        fragments.add(SampleFragment.newInstance(title));
        listItems.add(title);
      }
      mFragmentAdapter.addAll(fragments);
      mListAdapter.addAll(listItems);
    }
docs: Creates a list of fragments and list items and loads up the adapters.