Here are the examples of the java api class com.google.android.apps.common.testing.ui.espresso.action.AdapterDataLoaderAction taken from open source projects.
1. DataInteraction#load()
Project: double-espresso
File: DataInteraction.java
File: DataInteraction.java
private AdapterDataLoaderAction load() { AdapterDataLoaderAction adapterDataLoaderAction = new AdapterDataLoaderAction(dataMatcher, atPosition, adapterViewProtocol); onView(adapterMatcher).inRoot(rootMatcher).perform(adapterDataLoaderAction); return adapterDataLoaderAction; }
2. DataInteraction#check()
Project: double-espresso
File: DataInteraction.java
File: DataInteraction.java
/** * Performs an assertion on the state of the view after we force the data to be loaded. * * @return an {@link ViewInteraction} for more assertions or actions. */ public ViewInteraction check(ViewAssertion assertion) { AdapterDataLoaderAction adapterDataLoaderAction = load(); return onView(makeTargetMatcher(adapterDataLoaderAction)).inRoot(rootMatcher).check(assertion); }
3. DataInteraction#perform()
Project: double-espresso
File: DataInteraction.java
File: DataInteraction.java
/** * Performs an action on the view after we force the data to be loaded. * * @return an {@link ViewInteraction} for more assertions or actions. */ public ViewInteraction perform(ViewAction... actions) { AdapterDataLoaderAction adapterDataLoaderAction = load(); return onView(makeTargetMatcher(adapterDataLoaderAction)).inRoot(rootMatcher).perform(actions); }