Scrolling in android appium AND Clicking on all the items of the list

Hello All,

I have a question, I got a list of items, i want to click one by one on the left side of my android native app and 6 items are visible on the screen, and all have the the same driver id and the text is also not static, it can change everytime i refresh the page or it changes in most of the cases. I did create a list of items and tried to loop around, but it will always click on 6 items present on the screen but will not scroll onto the 7th and 8th items. Can you tell me, how and what i can do to scroll and click on my other 2 items.

@AndroidFindBy(uiAutomator = “new UiScrollable()).” +
“scrollIntoView(new UiSelector().resourceIdMatches(” + resouce _id + “))”)
public List scrollText;

This does give me an error, and ask to enter a parameter. Kindly suggest me what to use and how or kindly share any URL for reference.