Picasso IllegalArgumentException Target must not be null

后端 未结 6 846
别跟我提以往
别跟我提以往 2020-11-28 15:49

I\'m trying to set image by using Picasso library on my project.

When I click image of the View,I\'m getting an error on Picasso execution.

Logcat of the ap

6条回答
  •  猫巷女王i
    2020-11-28 16:07

    Check the ID of your imageview object is correct -

    imageView=itemView.findViewById(R.id.imageview1);
    

提交回复
热议问题