code: void initResultIndex() {
  
          int startIndex = 0;
          if ((m_pageIndex > 0) && (m_pageSize > 0)) {
              startIndex = (m_pageIndex - 1) * m_pageSize;
          }
  
          m_resultIndex = startIndex > m_resultSize ? m_resultSize : startIndex;
      }
docs: Initializes the index of the current resource that gets iterated in the result list.<p>