Android UIAutomator Get ListView Item

Hi, I am trying to use AndroidDriver findElementByAndroidUIAutomator to locate element. The element is of the direct level children of a listview like:
ListView(id: showcontent)
---- 0 linearLayout
--------- linearLayout
--------- linearLayout
-----1 linearLayout ← target element
-----2 linearLayout
The locating string is

new UiSelector().resourceId(“showcontent”).instance(0).childSelector(new UiSelector().className(“android.widget.LinearLayout”).index(1));

However the string only locates to the child element of “0 linearLayout”. How could I get “1 linearLayout” element directly? Or how to only get the direct children of a listview? Thx.