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 - Ebean enhancement ignores a model -

ubuntu - How to disable Kernel Module Signing in linux -

SQL php on different pages to Insert (mysqli) -