Hi, I'm working on ACS, i want to show profile pictures of the users in a listview. i am downloading pictures from ACS but some users don't have profile pictures, when i retrieve all pictures in a loop the whole list view does not appear. I'm working on this from yesterday but do not find solution yet. Can anyone please help, i'll be thankful.
for ( i = 0; i < places.length; i++) { var rowSection = Ti.UI.createListSection({ }); //alert(places[i].photo); var rowDataSet = [{ name : { text : places[i].name }, deal : { text : places[i].custom_fields.deal }, pic : { image : '/images/directoryRowImage.png' }, profilePic : { image : places[i].photo.urls.square_75 }, properties : { itemId : i, height : 80 } }]; rowSection.setItems(rowDataSet); sections.push(rowSection); }