| java.lang.Object | |
| ↳ | android.support.test.espresso.contrib.RecyclerViewActions | 
ViewActions to interact RecyclerView. RecyclerView works differently than
 AdapterView. In fact, RecyclerView is not an AdapterView anymore, hence it can't be used
 in combination with onData(Matcher).
 
 To use ViewActions in this class use onView(Matcher) with a
 
 Matcher that matches your RecyclerView, then perform a
 ViewAction from this class.
 
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| RecyclerViewActions.PositionableRecyclerViewAction | Most RecyclerViewActions are given a matcher to select a particular view / viewholder within the RecyclerView. | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          Performs a  ViewActionon a view matched by viewHolderMatcher. | |||||||||||
| 
          Performs a  ViewActionon a view matched by viewHolderMatcher. | |||||||||||
| 
          Performs a  ViewActionon a view at position. | |||||||||||
| 
          Returns a  ViewActionwhich scrollsRecyclerViewto the view matched by
 itemViewMatcher. | |||||||||||
| 
          Returns a  ViewActionwhich scrollsRecyclerViewto the view matched by
 viewHolderMatcher. | |||||||||||
| 
          Returns a  ViewActionwhich scrollsRecyclerViewto a position. | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  java.lang.Object | |||||||||||
Performs a ViewAction on a view matched by viewHolderMatcher.
 
| viewHolderMatcher | a Matcherthat matchesan item view holder inRecyclerView | 
|---|---|
| viewAction | the action that is performed on the view matched by viewHolderMatcher | 
| PerformException | if there are more than one items matching given viewHolderMatcher. | 
|---|
Performs a ViewAction on a view matched by viewHolderMatcher.
 
| itemViewMatcher | a Matcherthat matches an item view inRecyclerView | 
|---|---|
| viewAction | the action that is performed on the view matched by viewHolderMatcher | 
| PerformException | if there are more than one items matching given viewHolderMatcher. | 
|---|
Performs a ViewAction on a view at position.
 
| position | position of a view in RecyclerView | 
|---|---|
| viewAction | the action that is performed on the view matched by itemViewMatcher | 
Returns a ViewAction which scrolls RecyclerView to the view matched by
 itemViewMatcher.
 
 This approach uses RecyclerView.ViewHolders to find the target view. It will create one ViewHolder
 per item type and bind adapter data to the ViewHolder. If the itemViewMatcher matches a
 ViewHolder the current position of the View is used to perform a
 scrollToPosition(int).
 
| itemViewMatcher | a Matcherthat matches an item view inRecyclerView | 
|---|
| PerformException | if there are more than one items matching given viewHolderMatcher. | 
|---|
Returns a ViewAction which scrolls RecyclerView to the view matched by
 viewHolderMatcher.
 
 This approach uses RecyclerView.ViewHolders to find the target view. It will create one ViewHolder
 per item type and bind adapter data to the ViewHolder. If the itemViewMatcher matches a
 ViewHolder the current position of the View is used to perform a
 scrollToPosition(int). Note: scrollTo method is not overloaded, method
 overloading with generic parameters is not possible.
 
| viewHolderMatcher | a Matcherthat matches an item view holder inRecyclerView | 
|---|
| PerformException | if there are more than one items matching given viewHolderMatcher. | 
|---|
Returns a ViewAction which scrolls RecyclerView to a position.
| position | the position of the view to scroll to | 
|---|