title: Espresso: click first item in ListView inside a ViewPager
body: <p>Is it possible to click the first item of a ListView inside a ViewPager? </p>
  
  <p>I already tried to get it working like this:  </p>
  
  <p><code>onData(anything()).inAdapterView(withId(R.id.myListView)).atPosition(0).perform(click());</code>.</p>
  
  <p>But as I understand from here: <a href="https://stackoverflow.com/questions/29836405/testing-viewpager-with-espresso-how-perfom-action-to-a-button-of-an-item">Testing ViewPager with Espresso. How perfom action to a button of an Item?</a> you cant use onData for a ViewPager. 
  Plus if I run the Test i get a AmbiguousViewMatcherException for multiple matches. </p>
  
  <p><code>android.support.test.espresso.AmbiguousViewMatcherException: 'with id: my.awesome.app:id/myListView' matches multiple views in the hierarchy.
  Problem views are marked with '****MATCHES****' below.</code></p>
  
  <p>If i run the test like this <code>onView(allOf(withId(R.id.myListView),isDisplayed())).perform(click());</code> the first item is never clicked. </p>
  
  <p>Is there another way to click the first item of the list?  </p>