Android - select next item in the list

Hi, I am creating a test on Android where I have a list of items and each of those items display buttons. When each item is selected the same buttons are displayed.

I want to write a test where if I select an item and the button e.g button A doesn’t display I then go back to the list and select the next item on the list and check if button A displays there

Is there a way to do this ?