I have an ExpandableListView
and I would like to click()
one of its childs.
I have tried LOADS OF different ways but I just can't seem to understand how Espresso works.
For instance, why does this code do not work?
onData(withId(R.id.execexpList)).onChildView(is(withId(200))).perform(click())
For some divine reason, it returns "ambiguous match" to my ExpandableLIstView and other ListView of mine, but they have DIFFERENT ids.
Can anyone help me out?