Cannot understand NullPointerException with custom adapter

雨燕双飞 提交于 2019-12-01 01:01:33

Not sure if this is the cause but the last parameter to the SimpleAdapter constructor should all be TextViews.

SimpleAdapter

As I can see in the code above, your problem was in the "return convertView;" line. You've just returned an input view, not the inflated one.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!