I find it at appium doc and i need how to use ? i don’t understand it’s code T T
// setAsVerticalList
// FindElement
MobileElement element = (MobileElement) driver.findElement(MobileBy.AndroidUIAutomator(
“new UiScrollable(new UiSelector().scrollable(true)).setAsVerticalList()” +
“.scrollIntoView(new UiSelector().text(“exact_text”))”));
// setAsHorizontalList
// FindElement
MobileElement element = (MobileElement) driver.findElement(MobileBy.AndroidUIAutomator(
“new UiScrollable(new UiSelector().scrollable(true)).setAsHorizontalList()” +
“.scrollIntoView(new UiSelector().text(“exact_text”))”));