scrollIntoView not showing up for scrolling

Hi anyone,

I am trying to scroll onto a particular element using below.

driver.findElementByAndroidUIAutomator("new UiScrollable(new UiSelector()).

It looks like it is not bringing up scrollIntoView method to continue further scripting.

Please help.

Sometimes it is needed to specify element location which need to be scrolled. Just in same way as you find element for UiSelector. E.g. by ID is “UiSelector().resourceId(‘someID’)”

new UiScrollable(new UiSelector().here_specify_element_that_need_to_be_scrolled)...