Hi, sorry for my bad English, i from russian :)
I have array - it text, photo, video. I added text in ListView through IList and foreach (there a lot of quotes, i got them through API request):
desc2 = new List(); desc2.Add(text); var desc = desc2; ListView listview = FindViewById(Resource.Id.listView1); var adapter = new ArrayAdapter(this, Android.Resource.Layout.SimpleListItem1, desc); adapter.SetDropDownViewResource(Android.Resource.Layout.SimpleListItem1); listview.Adapter = adapter;
This method very good work with text, but if i want to display image, how do I do if i have url image? Please help.
P.S I got JSON Array, which I sort out over the cycle
foreach (JToken result in apiResults)