【Android】ListView ViewHolder ArrayIndexOutOfBoundsException: length=2; index=2

ViewHolder ArrayIndexOutOfBoundsException: length=2; index=2

http://stackoverflow.com/questions/28387892/viewholder-arrayindexoutofboundsexception-length-2-index-2

ListView Adapter的getItemViewType返回值要从0开始,坑啊!!!

posted @ 2016-06-13 13:40  绚丽星空  阅读(398)  评论(0编辑  收藏  举报