I’ve list of image locations (sdcard image path) in an ArrayList. Is it possible for me to pass it to Gallary and let user to swipe through the images??
if not, how can I implement something similar to that??
Some help appreciated. Thanks for your time in advance.
PS: I searched online but couldn’t find exactly what I want. Thanks.
you can directly use
Galleryclass. here are some code snippets but there are loads of examples available online for this.onCreate(Bundle b)should look like this.Here is
main.xmlres/values/attrs.xmlshold look like this.Adapterclass should be as followsThis example is available here. have a look at it.