Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
app Fix all Bazel-enabled tests to pass with Bazel on HEAD again Nov 30, 2018
gradle/wrapper fix bazel build Sep 28, 2018
.gitignore Adds 2 new samples (Idling Resources and RecyclerViews for Espresso) … Aug 26, 2016
BUILD.bazel
README.md fixing extra space Aug 26, 2016
build.gradle Update to AndroidX Test 1.1.1-alpha01 Mar 7, 2019
gradlew
gradlew.bat Adds 2 new samples (Idling Resources and RecyclerViews for Espresso) … Aug 26, 2016
settings.gradle

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.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.