阅读背景:

在Android中从另一个整数[]数组中创建一个随机整数[]数组。

来源:互联网 

I am creating an activity that displays 9 images in a GridView. I want those images be selected randomly from an Integer[] array that contains 26 images. So my best approach is setting the 26 images fixed and then created a new array and fill using this simple method:I am creating an activity that displays 9 image




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: