【Android】ListView ViewHolder ArrayIndexOutOfBoundsException: length=2; index=2
2016-06-13 13:40
507 查看
ViewHolder ArrayIndexOutOfBoundsException: length=2; index=2
http://stackoverflow.com/questions/28387892/viewholder-arrayindexoutofboundsexception-length-2-index-2ListView Adapter的
getItemViewType返回值要从0开始,坑啊!!!
相关文章推荐
- android状态栏样式修改
- Android LayoutInflater详解
- Android有效地减少方法数
- Android入门-SayHello及其多种实现方法
- 菜逼的Android旅程
- AndroidStudio 错误
- Android 开发注意事项
- Android异步任务:AsyncTask 和 Handler+Message详解
- Android 自定义Dialog(自定义主题、自定义布局
- Android Dialog 去黑边的方法
- android dialog 对话框显示位置
- android2.3.4----3.关于notify
- Android入门--Menu的基础应用
- 解决Android Studio中layout编辑窗不能预览Material Design的控件问题
- android2.3.4----2.关于framebuffer
- android2.3.4----1.ubuntu12.04 64位编译android2.3.4
- android 版本更新
- 安卓播放声音同时震动的效果实现
- Android 热修复-AndFix
- Android系统中自定义按键的短按、双击、长按事件