hi the following method working fine for scrolling down:
String selector = “searchString”;
driver.findElement(MobileBy.AndroidUIAutomator(“new UiScrollable(new UiSelector()).scrollIntoView(new UiSelector().text(”"+selector+""));"));
but i want to scroll up ,can anyone describe me how to do it .thanks a lot