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

后端 未结 2 647
离开以前
离开以前 2021-01-18 01:29

Tell me please, why it doesn\'t like my layout (RelativeLayout with @+id/row)?

When I use it with self created adapter (layoutinflater) it works good. A

2条回答
  •  感动是毒
    2021-01-18 02:12

    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,

提交回复
热议问题