Can anyone tell me how I can do this..
I need to create 10+ buttons dynamicaly and link the image of button to randomly selected images from the list. Every time the application is refreshed, I would like to reasign the images randomly to each button, so that no button gets same image on every refresh. The images in the list is 6 in total but buttons are more than 10+. Also each button needs to be linked to a single action.
Can anyone give me suggestions or direct me to resource which could help me implement this...??
Thanks
I need to create 10+ buttons dynamicaly and link the image of button to randomly selected images from the list. Every time the application is refreshed, I would like to reasign the images randomly to each button, so that no button gets same image on every refresh. The images in the list is 6 in total but buttons are more than 10+. Also each button needs to be linked to a single action.
Can anyone give me suggestions or direct me to resource which could help me implement this...??
Thanks