Android : want to show all the images in a gridView in android

on Friday, September 26, 2014



<Location><attraction><ID>291</ID><Title>Great Eastern Hotel</Title><FeaturedImage>http://tripatlas.s3.amazonaws.com/travel/wp-content/uploads/sites/10/2014/08/Lighthouse.jpg</FeaturedImage><FeaturedImage1>http://tripatlas.s3.amazonaws.com/travel/wp-content/uploads/sites/10/2014/08/Banff-National-Park.jpg</FeaturedImage1><FeaturedImage2>http://tripatlas.s3.amazonaws.com/travel/wp-content/uploads/sites/10/2014/08/Banff-National-Park.jpg</FeaturedImage2><FeaturedImage3>http://tripatlas.s3.amazonaws.com/travel/wp-content/uploads/sites/10/2014/08/Banff-National-Park.jpg</FeaturedImage3></attraction><attraction><ID>294</ID><Title>Benaki Museum</Title><FeaturedImage>http://tripatlas.s3.amazonaws.com/travel/wp-content/uploads/sites/10/2014/08/kali.jpg</FeaturedImage><FeaturedImage1>http://tripatlas.s3.amazonaws.com/travel/wp-content/uploads/sites/10/2014/08/Banff-National-Park.jpg</FeaturedImage1><FeaturedImage2>http://tripatlas.s3.amazonaws.com/travel/wp-content/uploads/sites/10/2014/09/Jellyfish.jpg</FeaturedImage2><FeaturedImage3>http://tripatlas.s3.amazonaws.com/travel/wp-content/uploads/sites/10/2014/08/Banff-National-Park.jpg</FeaturedImage3></attraction></Location>


above is the my XML.I want to show all the images after xml parsing.when I open Great Eastern Hotel it shows all images from tag FeaturedImage,1,2 and3.similarly hapens for Benaki Museum.


0 comments:

Post a Comment