标签: java android android-espresso
我正在用espresso测试UI,并且想访问recyclerView内部视图的点击,我该如何用espresso做到这一点?
onView(ViewMatchers.withId(R.id.lyEvent)) .perform(RecyclerViewActions.actionOnHolderItem(2,click()));