code: private PageModel<T> createPageModel(final int pagePosition) {
          final T indicator = getIndicatorFromPagePosition(pagePosition);
          final ViewGroup view = instantiateItem(indicator);
  
          return new PageModel<T>(view, indicator);
      }
docs: Creates the internal page model. This method calls the {@link #instantiateItem(Object)} method
  that creates the page content.
  @param pagePosition the position in the pageModel array between [0..2]
  @return a new instance of a page model.