code: private void buildSectionHeaders(){
          // Update Artist maps
          HashMap<String, List<com.ftinc.kit.attributr.model.Library>> currMap = new HashMap<>();
  
          // Loop through tuneRefs
          for(int i=0; i<getItemCount(); i++){
              com.ftinc.kit.attributr.model.Library library = getItem(i);
              String license = library.license.formalName();
              List<com.ftinc.kit.attributr.model.Library> libraries = currMap.get(license);
              if(libraries != null){
                  libraries.add(library);
                  currMap.put(license, libraries);
              }else{
                  libraries = new ArrayList<>();
                  libraries.add(library);
                  currMap.put(license, libraries);
              }
          }
  
          // Update maps
          mHeaders.clear();
          mHeaders.addAll(currMap.values());
          mTitles.clear();
          mTitles.addAll(currMap.keySet());
      }
docs: Build the section headers for use in creating the headers