超简单教学Tutorial extends BaseAdapter implements PinnedSectionListAdapter
java.lang.ArrayIndexOutOfBoundsException
at android.widget.AbsListView$RecycleBin.addScrapView
1. Does your adapter handle at least two types of views in getViewTypeCount() method: items and sections?
Remember add in getItemViewType getViewTypeCount 记得添加 getItemViewType getViewTypeCount
2. java.lang.ArrayIndexOutOfBoundsException at android.widget.AbsListView$RecycleBin.addScrapView
getItemViewType return either 0 or 1,只能return 0 或 1
public class NewsListAdapter extends BaseAdapter implements PinnedSectionListAdapter{