android - Dynamically insert images into a GridView -


i making small game. want put images in grid view using dynamic array. accomplish this, have declared array random size.

how can insert images in dynamic array , show images in grid view?

 random rnd = new random();  public int randomnumber=rnd.nextint(10);  public int[]mthumbids=new int[randomnumber]; 

this project in github use show bunch of images net

https://github.com/pablorr18/tiflexigrid


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -