Hey, so I wrote a function to get a random number between two value ranges as so:
public int getRandomNumber(int lowest, int highest){
int num = highest - lowest;
Random rand = new Random(); int i = rand.nextInt(num) + lowest;
return i;
}
For example if I was to say N = getRandomNumber(340, 385); and call this in the evolution page then it works and returns a random number between 340-385 over and over and over when play() it clicked.
But when I call this function in the On Release code of a Slider view, it only returns int's of values 1-9.