ViewHolder ArrayIndexOutOfBoundsException: length=2; index=2 http://stackoverflow.com/questions/28387892/viewholder-arrayindexoutofboundsexception-length-2-index-2 ListView Adapter的getItemViewType返回值要从0开始,坑啊!!! 转载于:https://www.cnblogs.com/xubuhang/p/5580365.html