OSDN Git Service

This hooks up the show all part of the search as well as footers
[android-x86/packages-apps-Eleven.git] / src / com / cyngn / eleven / sectionadapter / SectionListContainer.java
index 56eb169..a5fe678 100644 (file)
@@ -3,6 +3,8 @@
  */
 package com.cyngn.eleven.sectionadapter;
 
+import com.cyngn.eleven.utils.SectionCreatorUtils;
+
 import java.util.List;
 import java.util.TreeMap;
 
@@ -11,11 +13,12 @@ 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;
     }
 }