public DropdownAdapter(Activity activity) { // store activity mActivity = activity; // fill list with track bundles initializeTrackBundleList(); // create an adapter helper mDropdownAdapterHelper = new ThemedSpinnerAdapter.Helper(activity); }
public MyAdapter(Context context, String[] objects) { super(context, android.R.layout.simple_list_item_1, objects); mDropDownHelper = new ThemedSpinnerAdapter.Helper(context); }
public MyAdapter(Context context, ArrayList<String> objects) { super(context, android.R.layout.simple_list_item_1, objects); mDropDownHelper = new ThemedSpinnerAdapter.Helper(context); }
public ArrayAdapterCompat(Context context, @LayoutRes int resource, List<T> objects) { super(context, resource, objects); mDropDownResource = resource; mDropDownHelper = new ThemedSpinnerAdapter.Helper(context); }
public SectionsPagerAdapter(Context context, String[] objects) { super(context, android.R.layout.simple_list_item_1, objects); mDropDownHelper = new ThemedSpinnerAdapter.Helper(context); }
public ToolbarSpinnerAdapter(Context context) { super(context, 0, context.getResources().getStringArray(R.array.sort_types)); dropDownHelper = new ThemedSpinnerAdapter.Helper(context); }