Why is Android recycling the wrong view type in my SpinnerAdapter?
I'm trying to make an ActionBar spinner that has separators. I have implemented a SpinnerAdapter that has 2 item view types (thanks to getViewTypeCount ). The problem is that I'm being sent some convertViews from the other type. Here's my SpinnerAdapter: public abstract class SeparatorSpinnerAdapter implements SpinnerAdapter { Context mContext; List<Object> mData; int mSeparatorLayoutResId, mActionBarItemLayoutResId, mDropDownItemLayoutResId, mTextViewResId; public static class SpinnerSeparator { public int separatorTextResId; public SpinnerSeparator(final int resId) { separatorTextResId =