code: private void initContentView(LayoutInflater inflater, View header, boolean fixedHeader, View footer,
                                 boolean fixedFooter, BaseAdapter adapter, int[] padding, int[] margin) {
      View contentView = createView(inflater, header, fixedHeader, footer, fixedFooter, adapter);
      FrameLayout.LayoutParams params = new FrameLayout.LayoutParams(
          ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT
      );
      params.setMargins(margin[0], margin[1], margin[2], margin[3]);
      contentView.setLayoutParams(params);
      getHolderView().setPadding(padding[0], padding[1], padding[2], padding[3]);
      contentContainer.addView(contentView);
    }
docs: It is called in order to create content