title: Espresso Matcher for Nested RecyclerView
body: <p>So here's a breakdown of my hierarchy:</p>
  
  <pre><code>RecyclerView --&gt; LinearLayout --&gt; RecyclerView --&gt; FrameLayout -&gt; FrameLayout 
  </code></pre>
  
  <p>Here's a screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/D6LTf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/D6LTf.png" alt="layout"></a></p>
  
  <p>I would like to be able to verify the <code>FrameLayout</code> with the text is displayed. This what I have tried so far:</p>
  
  <pre><code>onView(withRecyclerView(R.id.container_list).atPositionOnView(0, R.id.row_content))
                  .check(matches(withRecyclerView(R.id.row_content).atPositionOnView(0, R.id.info_field)))
                  .check(matches(isDisplayed()));
  </code></pre>
  
  <p>But it causes an <code>AmbiguousViewMatcherException</code>. Any ideas on how to verify that nested view? Should mention I'm using the ViewMatcher from <a href="https://github.com/dannyroa/espresso-samples/blob/master/RecyclerView/app/src/androidTest/java/com/dannyroa/espresso_samples/recyclerview/RecyclerViewMatcher.java" rel="noreferrer">here</a>. Thanks.</p>