ItemMatcher

public final class ItemMatcher extends BoundedMatcher<View, View>

Matches first RecyclerView descendant which matches specific matcher

Parameters

parent

Matcher of the recycler view

item

Matcher of the item in adapter

Constructors

Link copied to clipboard
public ItemMatcher ItemMatcher(Matcher<View> parent, Matcher<View> item)

Properties

Link copied to clipboard
private Integer position

Functions

Link copied to clipboard
public Unit describeMismatch(Object item, Description description)
Link copied to clipboard
public Unit describeTo(Description desc)
Link copied to clipboard
public final Integer getPosition()
Link copied to clipboard
public final Boolean matches(Object item)
Link copied to clipboard
public final Unit setPosition(Integer position)
Link copied to clipboard
public String toString()