| Author |
images in random fashion
|
praseena nair
Greenhorn
Joined: Mar 28, 2009
Posts: 4
|
|
|
hey...i am trying to develop a game...in which i need various parts of images displayed in random way in a grid and on 15 different buttons...i.e. buttons will be displayed in grid layout and each will hold 1 part of image.and these should be in random manner....this is kinda jigsaw puzzle...can anyone help me how can i add images to an arraylist??
|
 |
Gavin Tranter
Ranch Hand
Joined: Jan 01, 2007
Posts: 333
|
|
I wouldnt put images into an array list for this.
You are better off storing the url/uri of the image in the arraylist, and passing that to the button, so that the button loads the image using the url.
G
|
 |
praseena nair
Greenhorn
Joined: Mar 28, 2009
Posts: 4
|
|
|
hey thanks a lot...i didnt use your way but could still figure out a way to develop the game thanks a lot anyways...
|
 |
 |
|
|
subject: images in random fashion
|
|
|