code: @Override
      public final Object instantiateItem(final ViewGroup container, final int position) {
          if (Constants.DEBUG) {
              Log.i("InfiniteViewPager", String.format("instantiating position %s", position));
          }
          final PageModel<T> model = createPageModel(position);
          mPageModels[position] = model;
          container.addView(model.getParentView());
          return model;
      }
docs: This method is only called, when this pagerAdapter is initialized.