title: RecyclerView espresso test click() not working
body: <p>I faced with strange espresso instrumentation test behavior. Clicking on recycler view's item not working.</p>
  
  <p><strong>Click not happened here</strong>:</p>
  
  <pre class="lang-java prettyprint-override"><code>onView(withId(R.id.recyclerView)).perform(actionOnItemAtPosition(0, click()));
  </code></pre>
  
  <p><strong>But this workaround works</strong>:</p>
  
  <pre><code>onView(withId(R.id.recyclerView)).perform(actionOnItemAtPosition(0, recyclerClick()));
  
  // ...
  
  public static ViewAction recyclerClick() {
      return new ViewAction() {
  
          @Override
          public Matcher&lt;View&gt; getConstraints() {
              return any(View.class);
          }
  
          @Override
          public String getDescription() {
              return "performing click() on recycler view item";
          }
  
          @Override
          public void perform(UiController uiController, View view) {
              view.performClick();
          }
      };
  }
  </code></pre>
  
  <p>Is this Espresso or RecyclerView issue?</p>