I have a list of random data from 100 to 901 items, can anyone give me some suggestions on dividing the data equally into 3 lists view, listview1 from 100 - 300m listview2 from 301 - 600, listview3 from 601-901
i tried but no logic and it doesn’t work
The easiest way is the which one you wrote in the question.
3 for each item , the first from 100 to 300 the second from 301 to 600 and so on to create the 3 list.
After you create the list then (out of the each item) start the for each item to add items to listview.
or like this if you don’t need to save the 3 lists