public static TestFragment newInstance(String content) {
    TestFragment fragment = new TestFragment();

    StringBuilder builder = new StringBuilder();
    for (int i = 0; i < 20; i++) {
      builder.append(content).append(" ");
    }
    builder.deleteCharAt(builder.length() - 1);
    fragment.mContent = builder.toString();

    return fragment;
  }
 @Override
 public Fragment getItem(int position) {
   return TestFragment.newInstance(CONTENT[position % CONTENT.length]);
 }