Hello, i fill a listview2 with content retrieved from my webserver, the server output a Json array and it look looks like this:
The problem is that since now i need to use AddTwoLinesAndBitmap2 "i need to make two jobs?" because in the array i have the url of the image, so in the first job i am parsing the json array and saving values then from:
Dim profile_picurl As String
profile_picurl = m.get("profile_picture")
Then i need to download the image and put it on:
Everything works, i can fill the listview with data retrieved from server but i cannot load the single images.
I am using SPlistview becaue it support richstrings needed on my app.
Thank you so much.
B4X:
[{"user":"user182","gender":"18","age":"33","comment":"hello this is my message","profile_picture":"http://www.somehost.com/image.jpg","sent_date":"2014-05-08 11:11:20"}]
The problem is that since now i need to use AddTwoLinesAndBitmap2 "i need to make two jobs?" because in the array i have the url of the image, so in the first job i am parsing the json array and saving values then from:
Dim profile_picurl As String
profile_picurl = m.get("profile_picture")
Then i need to download the image and put it on:
B4X:
ListView1.AddTwoLinesAndBitmap2(stuff_fromarray1,stuff_fromarray2,profile_picturebmp.Bitmap,tapvalue)
Everything works, i can fill the listview with data retrieved from server but i cannot load the single images.
I am using SPlistview becaue it support richstrings needed on my app.
Thank you so much.