Slot machine with endless list how to get aligned lines
问题 I'm trying to implement a slot machin with 3 endless ListView. I wanted to do that with scroll view but I didn't find a solution to loop on a scrollView. So basically I have three listview = 3 columns of my slot machine and when I click on button I want to scroll to a random position (a random integer between 0 (inclusive) and 300 (exclusive) which is my lists size) : Random r = new Random(); int rPos1 = r.nextInt(300 - 0) +0; int rPos2 = r.nextInt(300 - 0) + 0; int rPos3 = r.nextInt(300 - 0)