*/
package com.cyngn.eleven.sectionadapter;
+import com.cyngn.eleven.utils.SectionCreatorUtils;
+
import java.util.List;
import java.util.TreeMap;
* @param <T> the type of item that the list contains
*/
public class SectionListContainer<T> {
- public TreeMap<Integer, String> mSectionIndices;
+ public TreeMap<Integer, SectionCreatorUtils.Section> mSections;
public List<T> mListResults;
- public SectionListContainer(TreeMap<Integer, String> sectionIndices, List<T> results) {
- mSectionIndices = sectionIndices;
+ public SectionListContainer(final TreeMap<Integer, SectionCreatorUtils.Section> sections,
+ final List<T> results) {
+ mSections = sections;
mListResults = results;
}
}