Unable to Click the element from the list, which is not in view in appium/android

Hi,
I have a page in Android, that contains 14 rows displayed by using Recycler view.
Recycler view functionality reused in that page.
I can select first and second element from the list.
If i tried to click on 3rd element it shows Array out of bound exception.
How to click that element?

@Srilakshmi you can click e.g. by text:

// by text
driver.findElement(MobileBy.AndroidUIAutomator("new UiScrollable())." +
            "scrollIntoView(new UiSelector().text(\"next_needed"))"));

// by textContains
driver.findElement(MobileBy.AndroidUIAutomator("new UiScrollable())." +
            "scrollIntoView(new UiSelector().textContains(\"next_needed"))"));