mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Make constructor public
This commit is contained in:
parent
8008c279c9
commit
3990981710
1 changed files with 4 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ package fr.free.nrw.commons.category;
|
|||
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.BaseAdapter;
|
||||
|
|
@ -17,11 +18,13 @@ public class CategoriesAdapter extends BaseAdapter {
|
|||
private Context context;
|
||||
private ArrayList<CategorizationFragment.CategoryItem> items;
|
||||
|
||||
private LayoutInflater mInflater;
|
||||
|
||||
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<CategorizationFragment.CategoryItem> items) {
|
||||
public CategoriesAdapter(Context context, ArrayList<CategorizationFragment.CategoryItem> items) {
|
||||
this.context = context;
|
||||
this.items = items;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue