ScrollTo function is decrypted in the new version of Appium, won’t able to scroll down.
I was also tried the following things in my code.
driver.findElementByAndroidUIAutomator(“new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().textContains(”"+text+"").instance(0))");