1

Suppose No images in JSON response but data will be present then not able to display both images and data in listview

view story
linux-howto

http://stackoverflow.com – i am adding images and data obtained from webservice(json response) in listview. Some times images are present in array and some times no images, if images are present in array then i am getting correct output both image and data will display in listview but if no images in array then even though data is present but it will not display anything in listview. struggling here with if statement following is my code Any answers will be appreciated can any one help? ArrayList<HashMap<String, String>> songsList = new ArrayList<HashMap<String, String>>(); // Creating (HowTos)