Issue
How can I load an image using picasso library
?
I already tried it but it display force close
on my screen. I just added this:
ImageView a = (ImageView)findViewById(R.id.ivImage);
Picasso.with(Home.this).load(TAG_IMAGE).into(a);
On my onPostExecute()
, I am loading my image from server.
Solution
For that purpose, you have to write custom adapter.
Refer this link to know how to use Picasso in your custom adapter.
To learn about customAdapter() refer this link
Answered By - Paritosh
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.