code: void movePageContents(final int from, final int to) {
          final PageModel<T> fromModel = mPageModels[from];
          final PageModel<T> toModel = mPageModels[to];
          if (fromModel == null || toModel == null) {
              Log.w(Constants.LOG_TAG, "fillPage no model found " + fromModel + " " + toModel);
              return;
          }
          if (Constants.DEBUG) {
              Log.d("InfiniteViewPager",
                  String.format("Moving page %s to %s, indicator from %s to %s", from, to,
                  fromModel.getIndicator(), toModel.getIndicator()));
              printPageModels("before");
          }
  
  
          toModel.removeAllChildren();
          for (View view : fromModel.getChildren()) {
              fromModel.removeViewFromParent(view);
              toModel.addChild(view);
          }
  
          if (Constants.DEBUG) {
              printPageModels("transfer");
          }
          mPageModels[to].setIndicator(fromModel.getIndicator());
          if (Constants.DEBUG) {
              printPageModels("after");
          }
      }
docs: Package internal. Moves contents from page index {@code from} to page index {@code to}.
  @param from page index to move contents from.
  @param to page index to move contents to.