Resources$NotFoundException: Resource ID # type #0x12 is not valid

戏子无情 提交于 2019-12-01 17:06:40

you should provide a layout not an id. Replace R.id.row with R.layout.your_layout_name

I really bet you trying to textView.setText(Integer) somewhere.

Han, didn't read question fully. Update

No, you can't place pictures in default adapter. It works only with text. You need to create your own Adapter. And I recommend you to switch to RecyclerView especially with displaying pictures,

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