A JUnit rule that registers an idling resource for all fragment views that use data binding.


Link copied to clipboard
fun DataBindingIdlingResourceRule(onRootView: OnRootView)

Constructs a DataBindingIdlingResourceRule with lambda that can be used to execute an function that requires a root view references.

Link copied to clipboard
fun DataBindingIdlingResourceRule(activityScenarioRule: ActivityScenarioRule<out Activity>)

Constructs a DataBindingIdlingResourceRule that obtains the root view reference from the given activityScenarioRule.

Inherited functions

Link copied to clipboard
open override fun apply(baseStatement: Statement, description: Description): Statement