thank you in advance for your attention. I'll explain my situation, I need to separate an arraylist into multiple arraylist. For example, I need to make requests for an api, in which I can only pass 50 items. Sometimes I need to query more than 50 items, so I need to make 2 requests for api, each with 50 items. Another situation would be, an array with 120 items, I would then need to make 3 requests, in the first 2 I pass 50 items, and in the third and last I would spend the last 20, so I would like to split this main arraylist with 120 items in 3 arrayslist, 2 with size of 50, and the third with size of 20. Below is the code I am using to do this but I am not succeeding, I would like to know a better solution for this. Thank you!thank you in advance for your attention. I'll e