Nomor acak studio Android antara 1 dan 10

int max = 10;
int min = 1;
random.nextInt(max - min + 1) + min
Glorious Gecko