I have infinite gallery based on this example :
http://blog.blundell-apps.com/infinite-scrolling-gallery/ ,
It runs nicely, now I want to have the Gallery still scroll through the images and under each image there should be a text caption.
I searched net with no result, would you please help me in coding that, just beginner in development.
==================================================================================
NEW Update :
upload photo explane what i need exactly which i get it with normal gallery (applied text to each image and able to customize text too as shown down image ,and each image has diffrenet text than others , but still not succeed to do it with infinite gallery :

PLEASE ANY HELP AND ADVICE .
THANKS ALOT.
In the adapter you can see the method: getView, you can see this method returns an ImageView, so now you want the getView method to return an imageview and textview…
U can do this in a few ways, here how you can do it with a LayoutInflater
So in your res/layout folder you should have an ‘gallery_item’ layout that contains an ImageView (img) and a TextView (caption)
i.e.
gallery_item.xml
Hope this was helpfull!
EDIT
so as the above example shows you would need two arrays, one of imageIds and one of textCaptions. To keep your Adapter nice and clean it’s screaming for you to make an object.
You could then pass an Array or List of your
GalleryItemsto the Adapter (replacing thesetAdaptermethod). i.e:Then in your
getViewmethod as outlined above you would extract each object:Hope thats clear