Scrolling Problem

Hi Everyone,

I have a problem with scrolling views in the android app.
While using the following logic, the scroll was performed properly
But the current element finds and moved to the previous screen. So, that time unable to click on it.

Can you please provide the solution.

driver.findElementByAndroidUIAutomator(“new UiScrollable(” +
“new UiSelector().scrollable(true)).scrollIntoView(” +
“new UiSelector().text(”" + data + “”));").click();

Hi.

You problem not very clear. Pls add example of it. Also visit tutorial at http://appium.io/docs/en/writing-running-appium/tutorial/swipe-tutorial/