Find file History
Latest commit 8f94016 Dec 21, 2016 Douglas Sigelbaum Updating <size>Test annotations to be from
android.support.test.filters.* across all projects.
Removed the annotation from unit tests.
Permalink
..
Failed to load latest commit information.
app Updating <size>Test annotations to be from Dec 21, 2016
gradle/wrapper
.gitignore Adds 2 new samples (Idling Resources and RecyclerViews for Espresso) … Aug 26, 2016
README.md fixing extra space Aug 26, 2016
build.gradle Adds 2 new samples (Idling Resources and RecyclerViews for Espresso) … Aug 26, 2016
gradlew Adds 2 new samples (Idling Resources and RecyclerViews for Espresso) … Aug 26, 2016
gradlew.bat
settings.gradle Adds 2 new samples (Idling Resources and RecyclerViews for Espresso) … Aug 26, 2016

README.md

RecyclerView sample for Espresso

Espresso has a special entry point to interact with AdapterViews, onData(), however, RecyclerViews work differently than AdapterViews.

In order to interact with RecyclerViews using Espresso, the espresso-contrib package has a collection of RecyclerViewActions that can be used to scroll to positions or perform actions on items.

In this example you'll find a basic Activity that shows a list and an example of how to scroll through it, perform some ViewActions and check ViewAssertions using Espresso.