OnRootViewIdlingResourceRule
abstract class OnRootViewIdlingResourceRule(onRootView: OnRootView) : ResourceRule
Content copied to clipboard
An idling resource rule that waits for a condition on the app's root view to be satisfied.
Parameters
onRootView
A function that executes another function, providing it with the root view.
Constructors
Link copied to clipboard
fun OnRootViewIdlingResourceRule(activityScenarioRule: ActivityScenarioRule<out Activity>)
Content copied to clipboard
Constructs an OnRootViewIdlingResourceRule that obtains the root view from the given activityScenarioRule.
Link copied to clipboard