public boolean resetUnreadCounts(int aSection){
  boolean retCode=false;
  ArrayList<RoomSummary> summariesList=mSummaryListByGroupPosition.get(aSection);
  if (null != summariesList) {
    for (int summaryIdx=0; summaryIdx < summariesList.size(); summaryIdx++) {
      retCode|=resetUnreadCount(aSection,summaryIdx);
    }
  }
 else {
    Log.w(DBG_CLASS_NAME,"## resetUnreadCounts(): section " + aSection + " was not found in the sections summary list");
  }
  return retCode;
}

public boolean resetUnreadCounts ( int aSection ) { boolean retCode = false ; ArrayList < RoomSummary > summariesList = mSummaryListByGroupPosition . get ( aSection ) ; if ( null != summariesList ) { for ( int summaryIdx = 0 ; summaryIdx < summariesList . size ( ) ; summaryIdx ++ ) { retCode |= resetUnreadCount ( aSection , summaryIdx ) ; } } else { Log . w ( DBG_CLASS_NAME , "## resetUnreadCounts(): section " + aSection + " was not found in the sections summary list" ) ; } return retCode ; }
reset the count of the unread messages of the section whose index is given in asection
