Appium .gettext

Hi i got a question and need help with it.

i use: driver.find_element_by_android_uiautomator(‘new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().textContains(“1980”).instance(0))’) to scroll down to 1980.

but is there a way while it’s scrolling to print all the year that he passed by before finding 1980?
I need those information.