mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Add vars to CategoriesAdapter
This commit is contained in:
parent
14fa56c201
commit
e0bda6e64d
1 changed files with 5 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ import java.util.HashSet;
|
|||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.TreeSet;
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
import java.util.concurrent.ScheduledThreadPoolExecutor;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
|
@ -268,6 +269,10 @@ public class CategorizationFragment extends Fragment {
|
|||
private Context context;
|
||||
private ArrayList<CategoryItem> items;
|
||||
|
||||
private static final int TYPE_ITEM = 0;
|
||||
private static final int TYPE_SEPARATOR = 1;
|
||||
private TreeSet<Integer> sectionHeader = new TreeSet<Integer>();
|
||||
|
||||
private CategoriesAdapter(Context context, ArrayList<CategoryItem> items) {
|
||||
this.context = context;
|
||||
this.items = items;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue