[Solved] String Image Url set in imageview Android


Since you are using Picasso then you should use it like:

Picasso.with(getContext()).load(fb.getString("ItemImage")).into(foodresImage);

You are using fb.getInt() in your setImageResource and you are getting a string from the Google API. You cannot convert the link to an int resource.

solved String Image Url set in imageview Android