@Override public View getDropDownView(int position, View convertView, ViewGroup parent) { View view; if (convertView == null) { // Inflate the drop down using the helper's LayoutInflater LayoutInflater inflater = mDropDownHelper.getDropDownViewInflater(); view = inflater.inflate(android.R.layout.simple_list_item_1, parent, false); } else { view = convertView; } TextView textView = (TextView) view.findViewById(android.R.id.text1); textView.setText(getItem(position)); return view; }
@Override public Theme getDropDownViewTheme() { return mDropDownHelper.getDropDownViewTheme(); }
@Override public void setDropDownViewTheme(Theme theme) { mDropDownHelper.setDropDownViewTheme(theme); }