0
I’ve done several searches on how to add an image to an android listview item, I’m doing everything via JSON and by Asynctask but I’m having a hard time adding this image, someone has an example or a tutorial link that is simple to implement?
0
I’ve done several searches on how to add an image to an android listview item, I’m doing everything via JSON and by Asynctask but I’m having a hard time adding this image, someone has an example or a tutorial link that is simple to implement?
1
For such situations I usually use the Picasso, http://square.github.io/picasso/ Surely it will load the images faster than the code "handmade".
It really seems to be much simpler to use but as my application is now too big to make a change I will continue as I am doing but I already have another application to be made and I will use Picasso. Vlw hint.
Browser other questions tagged android json listview asynctask
You are not signed in. Login or sign up in order to post.
If your problem is how to get the image see this reply. If your problem is another one be more specific. Posting your code may help you get an answer.
– ramaral
Yes exactly what I look for, all that I thought were gigantic examples and difficult to understand on my part since I am still starting in this mobile world, I will test this alternative at home and if I return here to warn. Thank you very much for your attention.
– Maicon e Nanda Blumenau
Ah just to let you know that your answer helped my problem a lot but I still missed some things like: Add a Bitmap in a Hashmap that until then everyone said it was not possible so I could define Arraylist and Hashmap to <String, Object> ai worked to then set in a Simpleadapter and then present the image in listview, but it was from its tip that I got, vlw.
– Maicon e Nanda Blumenau
Yes it was missing because and answer is only about how to search the image. I’m glad I could help.
– ramaral