Случайное число Android Studio от 1 до 10

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