say I have an array and I can use ForEach view to iterate them and display each vertically or horizontally. But what if I want to show two items in a row from the array at a time and then continue to the next two items.
CodePudding user response:

say I have an array and I can use ForEach view to iterate them and display each vertically or horizontally. But what if I want to show two items in a row from the array at a time and then continue to the next two items.
CodePudding user response: