• Post Reply Bookmark Topic Watch Topic
  • New Topic

Iterating through images in Resource Folder  RSS feed

 
Robert Darling
Ranch Hand
Posts: 100
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to iterate through images in my res folder. How can i do this, and then dynamically add them to a scrollview/tableview? Is it possible.

Kind Regards.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can maintain an array of Resource IDs and then use them your code. Similar technique has been used in this tutorial.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!