天天看点

ListView 设置viewtype后数组越界

一个很微妙的bug

ListView的getItemViewType (int pos)

返回一定从0开始

切记