Find a Random Picture from Gallery

前端 未结 1 1101
陌清茗
陌清茗 2021-01-16 05:51

I\'m working on an android application that needs to obtain a random picture from the Gallery on an android device. Problem is I\'ve only been able to find

相关标签:
1条回答
  • 2021-01-16 06:54

    I would probably use this method, then throw the IDs into an Array and just use the Random object to get a random integer from 0 to array size.

    0 讨论(0)
提交回复
热议问题